diff options
Diffstat (limited to 'tests/markdown-test/backlash-escapes.html')
-rw-r--r-- | tests/markdown-test/backlash-escapes.html | 67 |
1 files changed, 24 insertions, 43 deletions
diff --git a/tests/markdown-test/backlash-escapes.html b/tests/markdown-test/backlash-escapes.html index 77ecde7..f99082a 100644 --- a/tests/markdown-test/backlash-escapes.html +++ b/tests/markdown-test/backlash-escapes.html @@ -1,41 +1,23 @@ - -<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: \\ +<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: \` @@ -66,8 +48,9 @@ Bang: \! Plus: \+ Minus: \- -</code></pre><p>Nor should these, which occur in code spans: -</p> +</code> +</pre> +<p>Nor should these, which occur in code spans:</p> <p>Backslash: <code>\\</code> </p> <p>Backtick: <code>\`</code> @@ -99,6 +82,4 @@ Minus: \- <p>Plus: <code>\+</code> </p> <p>Minus: <code>\-</code> -</p> - - +</p>
\ No newline at end of file |