~ubuntu-branches/ubuntu/trusty/libtext-markdown-perl/trusty

« back to all changes in this revision

Viewing changes to t/MultiMarkdown.mdtest/Backslash_escapes.xhtml

  • Committer: Bazaar Package Importer
  • Author(s): Ansgar Burchardt
  • Date: 2008-07-24 21:06:58 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080724210658-kbpqulb200ddijqe
Tags: 1.0.21-1
* New upstream release.
  + Update pod_name patch accordingly
* Install Todo as documentation
* Refresh debian/rules for debhelper 7
* Add myself to Uploaders.
* debian/control: Use dist-based URL for Homepage field
* Update debian/copyright:
  + Adopt to current proposed format
  + Replace "Copyright" and "(C)" by "©"
  + Include full license text as the version in
    /usr/share/common-licenses/BSD refers to the University as copyright
    holder
  + Move pointer to GPL and Artistic license to the right section

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
These should all get escaped:<br />
 
2
 
 
3
<p>Backslash: \</p>
 
4
 
 
5
<p>Backtick: `</p>
 
6
 
 
7
<p>Asterisk: *</p>
 
8
 
 
9
<p>Underscore: _</p>
 
10
 
 
11
<p>Left brace: {</p>
 
12
 
 
13
<p>Right brace: }</p>
 
14
 
 
15
<p>Left bracket: [</p>
 
16
 
 
17
<p>Right bracket: ]</p>
 
18
 
 
19
<p>Left paren: (</p>
 
20
 
 
21
<p>Right paren: )</p>
 
22
 
 
23
<p>Greater-than: ></p>
 
24
 
 
25
<p>Hash: #</p>
 
26
 
 
27
<p>Period: .</p>
 
28
 
 
29
<p>Bang: !</p>
 
30
 
 
31
<p>Plus: +</p>
 
32
 
 
33
<p>Minus: -</p>
 
34
 
 
35
<p>These should not, because they occur within a code block:</p>
 
36
 
 
37
<pre><code>Backslash: \\
 
38
 
 
39
Backtick: \`
 
40
 
 
41
Asterisk: \*
 
42
 
 
43
Underscore: \_
 
44
 
 
45
Left brace: \{
 
46
 
 
47
Right brace: \}
 
48
 
 
49
Left bracket: \[
 
50
 
 
51
Right bracket: \]
 
52
 
 
53
Left paren: \(
 
54
 
 
55
Right paren: \)
 
56
 
 
57
Greater-than: \&gt;
 
58
 
 
59
Hash: \#
 
60
 
 
61
Period: \.
 
62
 
 
63
Bang: \!
 
64
 
 
65
Plus: \+
 
66
 
 
67
Minus: \-
 
68
</code></pre>
 
69
 
 
70
<p>Nor should these, which occur in code spans:</p>
 
71
 
 
72
<p>Backslash: <code>\\</code></p>
 
73
 
 
74
<p>Backtick: <code>\`</code></p>
 
75
 
 
76
<p>Asterisk: <code>\*</code></p>
 
77
 
 
78
<p>Underscore: <code>\_</code></p>
 
79
 
 
80
<p>Left brace: <code>\{</code></p>
 
81
 
 
82
<p>Right brace: <code>\}</code></p>
 
83
 
 
84
<p>Left bracket: <code>\[</code></p>
 
85
 
 
86
<p>Right bracket: <code>\]</code></p>
 
87
 
 
88
<p>Left paren: <code>\(</code></p>
 
89
 
 
90
<p>Right paren: <code>\)</code></p>
 
91
 
 
92
<p>Greater-than: <code>\&gt;</code></p>
 
93
 
 
94
<p>Hash: <code>\#</code></p>
 
95
 
 
96
<p>Period: <code>\.</code></p>
 
97
 
 
98
<p>Bang: <code>\!</code></p>
 
99
 
 
100
<p>Plus: <code>\+</code></p>
 
101
 
 
102
<p>Minus: <code>\-</code></p>