From 27169438551c1edfb8a2251a70ae607a7db36b29 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Mon, 1 Jan 2007 22:07:19 +0000 Subject: Changed representation of code blocks to use and escaped characters rather than and CDATA. Reason: XML source more easily editable and readable. git-svn-id: https://pandoc.googlecode.com/svn/trunk@393 788f1e2b-df1e-0410-8736-df70ead52e1b --- tests/writer.docbook | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) (limited to 'tests') diff --git a/tests/writer.docbook b/tests/writer.docbook index 2736bde74..3b3d661a3 100644 --- a/tests/writer.docbook +++ b/tests/writer.docbook @@ -87,9 +87,11 @@ Code in a block quote: - +sub status { print "working"; -}]]> +} + A list: @@ -129,9 +131,11 @@ Example: - +sub status { print "working"; -}]]> +} +
@@ -169,19 +173,23 @@ Code: - +---- (should be four hyphens) sub status { print "working"; } -this code block is indented by one tab]]> +this code block is indented by one tab + And: - + this code block is indented by two tabs -These should not be escaped: \$ \\ \> \[ \{]]> +These should not be escaped: \$ \\ \> \[ \{ +
Lists @@ -839,7 +847,9 @@ Cat & 1 \\ \hline This should [not][] be a link. - + +[not]: /url + Foo bar. @@ -901,7 +911,9 @@ Cat & 1 \\ \hline Auto-links should not occur here: <http://example.com/> - ]]> + +or here: <http://example.com/> +
@@ -950,7 +962,9 @@ Cat & 1 \\ \hline Subsequent blocks are indented to show that they belong to the footnote (as with list items). - }]]> + + { <code> } + If you want, you can indent every line, but you can also be lazy and just indent the first line of each block. -- cgit v1.2.3