Add test cases for escape characters

This commit is contained in:
Tzu-ping Chung 2014-08-10 02:16:34 +08:00
parent 2301e4caa2
commit 4a2c962369
2 changed files with 86 additions and 0 deletions

View file

@ -0,0 +1,43 @@
<p>==Highlight==</p>
<p>~~Strikethrough~~</p>
<p>_Underscore_</p>
<p>_<em>Underscore_</em></p>
<p><em>_Underscore</em>_</p>
<p>_<em>Underscore</em>_</p>
<p><em>_Underscore_</em></p>
<p>*Asterisk*</p>
<p>*<em>Asterisk*</em></p>
<p>*<em>Asterisk</em>*</p>
<p><em>*Asterisk*</em></p>
<p><em>*Asterisk</em>*</p>
<p>[Bracket]</p>
<p>(Parenthesis)</p>
<p>&lt;Chevron&gt;</p>
<p>Super^script</p>
<p>`Backtick`</p>
<p>&quot;Quote&quot;</p>
<p><strong>Foo\</strong></p>
<p><em>Foo\*</em></p>
<p><strong>Foo\\Bar\</strong></p>
<p>*Foo\Bar\*</p>

View file

@ -0,0 +1,43 @@
\==Highlight\==
\~~Strikethrough\~~
\_Underscore\_
\__Underscore\__
_\_Underscore_\_
\__Underscore_\_
_\_Underscore\__
\*Asterisk\*
\**Asterisk\**
\**Asterisk*\*
*\*Asterisk\**
*\*Asterisk*\*
\[Bracket\]
\(Parenthesis\)
\<Chevron\>
Super\^script
\`Backtick\`
\"Quote\"
**Foo\\**
*Foo\\\**
**Foo\\\Bar\\**
*Foo\\Bar\\\*