• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
2<html>
3<head>
4<meta name="generator" content=
5"HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org">
6<title></title>
7</head>
8<body>
9<p>These should all get escaped:</p>
10<p>Backslash: \</p>
11<p>Backtick: `</p>
12<p>Asterisk: *</p>
13<p>Underscore: _</p>
14<p>Left brace: {</p>
15<p>Right brace: }</p>
16<p>Left bracket: [</p>
17<p>Right bracket: ]</p>
18<p>Left paren: (</p>
19<p>Right paren: )</p>
20<p>Greater-than: &gt;</p>
21<p>Hash: #</p>
22<p>Period: .</p>
23<p>Bang: !</p>
24<p>Plus: +</p>
25<p>Minus: -</p>
26<p>These should not, because they occur within a code block:</p>
27<pre>
28<code>Backslash: \
29
30Backtick: \`
31
32Asterisk: \*
33
34Underscore: \_
35
36Left brace: \{
37
38Right brace: \}
39
40Left bracket: \[
41
42Right bracket: \]
43
44Left paren: \(
45
46Right paren: \)
47
48Greater-than: \&gt;
49
50Hash: \#
51
52Period: \.
53
54Bang: \!
55
56Plus: \+
57
58Minus: \-
59</code>
60</pre>
61<p>Nor should these, which occur in code spans:</p>
62<p>Backslash: <code>\</code></p>
63<p>Backtick: <code>\`</code></p>
64<p>Asterisk: <code>\*</code></p>
65<p>Underscore: <code>\_</code></p>
66<p>Left brace: <code>\{</code></p>
67<p>Right brace: <code>\}</code></p>
68<p>Left bracket: <code>\[</code></p>
69<p>Right bracket: <code>\]</code></p>
70<p>Left paren: <code>\(</code></p>
71<p>Right paren: <code>\)</code></p>
72<p>Greater-than: <code>\&gt;</code></p>
73<p>Hash: <code>\#</code></p>
74<p>Period: <code>\.</code></p>
75<p>Bang: <code>\!</code></p>
76<p>Plus: <code>\+</code></p>
77<p>Minus: <code>\-</code></p>
78</body>
79</html>
80