123 lines
1.9 KiB
HTML
123 lines
1.9 KiB
HTML
|
<?xml version='1.0' encoding='utf-8'?>
|
||
|
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
|
||
|
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||
|
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
|
||
|
<head><meta content='text/html; charset=utf-8' http-equiv='Content-type' />
|
||
|
<title></title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<p>These should all get escaped:</p>
|
||
|
|
||
|
<p>Backslash: \</p>
|
||
|
|
||
|
<p>Backtick: `</p>
|
||
|
|
||
|
<p>Asterisk: *</p>
|
||
|
|
||
|
<p>Underscore: _</p>
|
||
|
|
||
|
<p>Left brace: {</p>
|
||
|
|
||
|
<p>Right brace: }</p>
|
||
|
|
||
|
<p>Left bracket: [</p>
|
||
|
|
||
|
<p>Right bracket: ]</p>
|
||
|
|
||
|
<p>Left paren: (</p>
|
||
|
|
||
|
<p>Right paren: )</p>
|
||
|
|
||
|
<p>Greater-than: ></p>
|
||
|
|
||
|
<p>Hash: #</p>
|
||
|
|
||
|
<p>Period: .</p>
|
||
|
|
||
|
<p>Bang: !</p>
|
||
|
|
||
|
<p>Plus: +</p>
|
||
|
|
||
|
<p>Minus: -</p>
|
||
|
|
||
|
<p>These should not, because they occur within a code block:</p>
|
||
|
|
||
|
<pre><code>Backslash: \\
|
||
|
|
||
|
Backtick: \`
|
||
|
|
||
|
Asterisk: \*
|
||
|
|
||
|
Underscore: \_
|
||
|
|
||
|
Left brace: \{
|
||
|
|
||
|
Right brace: \}
|
||
|
|
||
|
Left bracket: \[
|
||
|
|
||
|
Right bracket: \]
|
||
|
|
||
|
Left paren: \(
|
||
|
|
||
|
Right paren: \)
|
||
|
|
||
|
Greater-than: \>
|
||
|
|
||
|
Hash: \#
|
||
|
|
||
|
Period: \.
|
||
|
|
||
|
Bang: \!
|
||
|
|
||
|
Plus: \+
|
||
|
|
||
|
Minus: \-
|
||
|
|
||
|
</code></pre>
|
||
|
|
||
|
<p>Nor should these, which occur in code spans:</p>
|
||
|
|
||
|
<p>Backslash: <code>\\</code></p>
|
||
|
|
||
|
<p>Backtick: <code>\`</code></p>
|
||
|
|
||
|
<p>Asterisk: <code>\*</code></p>
|
||
|
|
||
|
<p>Underscore: <code>\_</code></p>
|
||
|
|
||
|
<p>Left brace: <code>\{</code></p>
|
||
|
|
||
|
<p>Right brace: <code>\}</code></p>
|
||
|
|
||
|
<p>Left bracket: <code>\[</code></p>
|
||
|
|
||
|
<p>Right bracket: <code>\]</code></p>
|
||
|
|
||
|
<p>Left paren: <code>\(</code></p>
|
||
|
|
||
|
<p>Right paren: <code>\)</code></p>
|
||
|
|
||
|
<p>Greater-than: <code>\></code></p>
|
||
|
|
||
|
<p>Hash: <code>\#</code></p>
|
||
|
|
||
|
<p>Period: <code>\.</code></p>
|
||
|
|
||
|
<p>Bang: <code>\!</code></p>
|
||
|
|
||
|
<p>Plus: <code>\+</code></p>
|
||
|
|
||
|
<p>Minus: <code>\-</code></p>
|
||
|
|
||
|
<div class='footnotes'>
|
||
|
<hr />
|
||
|
|
||
|
<ol />
|
||
|
</div>
|
||
|
|
||
|
<div class='maruku_signature'>
|
||
|
<hr />
|
||
|
<span style='font-size: small; font-style: italic'>Created by <a href='http://maruku.rubyforge.org' title='Maruku: a Markdown interpreter'>Maruku</a> at 23:15 on Friday, January 05th, 2007.</span></div>
|
||
|
</body></html>
|