summaryrefslogtreecommitdiff
path: root/tests/examplefiles/html/example.xhtml.output
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <dev@anteru.net>2021-11-13 21:07:57 +0100
committerMatthäus G. Chajdas <dev@anteru.net>2021-11-13 21:07:57 +0100
commit337dddef92b69d3a1e88fa450bef55149d24c1d9 (patch)
treee0d21003d3406f4ec3f81bde47f9f7285a4b9e02 /tests/examplefiles/html/example.xhtml.output
parent798cd36cb49a3dcbb3d3b0e1cb61598ce81a1acc (diff)
downloadpygments-git-337dddef92b69d3a1e88fa450bef55149d24c1d9.tar.gz
Fix #1896.
Use a simpler expression to match comments in HTML/XML.
Diffstat (limited to 'tests/examplefiles/html/example.xhtml.output')
-rw-r--r--tests/examplefiles/html/example.xhtml.output14
1 files changed, 3 insertions, 11 deletions
diff --git a/tests/examplefiles/html/example.xhtml.output b/tests/examplefiles/html/example.xhtml.output
index acceed24..90979e44 100644
--- a/tests/examplefiles/html/example.xhtml.output
+++ b/tests/examplefiles/html/example.xhtml.output
@@ -2514,9 +2514,7 @@
'div' Name.Tag
'>' Punctuation
' ' Text
-'<!--' Comment
-' #cloud ' Comment
-'-->' Comment
+'<!-- #cloud -->' Comment.Multiline
'\n ' Text
'<?r end ?>' Comment.Preproc
'\n ' Text
@@ -2525,9 +2523,7 @@
'div' Name.Tag
'>' Punctuation
' ' Text
-'<!--' Comment
-' #left ' Comment
-'-->' Comment
+'<!-- #left -->' Comment.Multiline
'\n \n ' Text
'<' Punctuation
'render' Name.Tag
@@ -2546,9 +2542,5 @@
'>' Punctuation
'\n\n' Text
-'<!--' Comment
-' Copyright © 2006 Kashia Buch (kashia@vfemail.net), Fabian Buch (fabian@fabian' Comment
-'-' Comment
-'buch.de). All rights reserved. ' Comment
-'-->' Comment
+'<!-- Copyright © 2006 Kashia Buch (kashia@vfemail.net), Fabian Buch (fabian@fabian-buch.de). All rights reserved. -->' Comment.Multiline
'\n' Text