diff options
Diffstat (limited to 'src/boost/tools/quickbook/test/escape-1_1.quickbook')
-rw-r--r-- | src/boost/tools/quickbook/test/escape-1_1.quickbook | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/boost/tools/quickbook/test/escape-1_1.quickbook b/src/boost/tools/quickbook/test/escape-1_1.quickbook new file mode 100644 index 00000000..3536ae5d --- /dev/null +++ b/src/boost/tools/quickbook/test/escape-1_1.quickbook @@ -0,0 +1,34 @@ +[article Escape +] + +[section Escape] + +''' +<emphasis>Da do do do. Da da da da. That's all I have to say to you.</emphasis> +''' + +This letter '''α''' should have a space either side of it. + +These should be properly encoded: \> \< \" + +[/ The following tests are based on internal knowledge of + how quickbook's id generator works. They make sure it + doesn't mess up escaped docbook. ] + +'''This <link linkend="$0">link</link> shouldn't be changed.''' + +''' +Some other problematic links: +<link linkend="$157">one</link>, +<link linkend="$-256">two</link>, +<link linkend="$text">three</link>. +''' + +[template escapedtemplate <emphasis>This will be escaped</emphasis>] + +[`escapedtemplate] + +\\\[ generates \[. +\\\] generates \]. + +[endsect] |