summaryrefslogtreecommitdiffstats
path: root/t/fmt/xml/comments.xml
diff options
context:
space:
mode:
Diffstat (limited to 't/fmt/xml/comments.xml')
-rw-r--r--t/fmt/xml/comments.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/t/fmt/xml/comments.xml b/t/fmt/xml/comments.xml
new file mode 100644
index 0000000..c5dc7b4
--- /dev/null
+++ b/t/fmt/xml/comments.xml
@@ -0,0 +1,19 @@
+<?xml version='1.0' encoding="UTF-8"?>
+ <p>
+ <!-- first comment -->
+ <!-- second comment
+ multiline -->
+ paragraph foo
+ bar
+ <!-- comment inside the paragraph -->
+ bar qux
+ <!-- comment after the paragraph -->
+ </p>
+
+<pre>
+a command
+ <!-- comment pre -->
+verbatim
+text
+</pre>
+