summaryrefslogtreecommitdiff
path: root/tools/quickbook/test/escape-1_6.quickbook
blob: 0df9038084e5f5e14f432b5dfa096125d52c1c65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[article Escape
[quickbook 1.6]
]

[section Escape]

'''
<emphasis>Da do do do. Da da da da. That's all I have to say to you.</emphasis>
'''

This letter '''&#x3B1;''' 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]