Skip to content

Commit

Permalink
Add test for url and html(no)
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Mar 2, 2019
1 parent d014aa8 commit 00ddaab
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions test/fixtures/bear.txt
@@ -1,3 +1,15 @@
.
go to <small>small house</small> for the <small>answer</small>
.
<p>go to &lt;small&gt;small house&lt;/small&gt; for the &lt;small&gt;answer&lt;/small&gt;</p>
.

.
go to https:/\/github.com\/chee\/markdown\-it-bear for the answer
.
<p>go to <a href="https://github.com/chee/markdown-it-bear">https://github.com/chee/markdown-it-bear</a> for the answer</p>
.

.
- happened
* what
Expand Down Expand Up @@ -108,14 +120,14 @@ i -struck out-
<p>i <s>struck out</s></p>
.

.
#recipes #recipes/abe #recipes/i like cheese#
.
#recipes #recipes/abe #recipes/i like cheese#

don't forget about #recipes #recipes/abe #recipes/i like cheese# and stuff
.
<p><span class='hashtag'>#recipes</span> <span class='hashtag'>#recipes/abe</span> <span class='hashtag'>#recipes/i like cheese#</span></p>
<p>don't forget about <span class='hashtag'>#recipes</span> <span class='hashtag'>#recipes/abe</span> <span class='hashtag'>#recipes/i like cheese#</span> and stuff</p>
.
don't forget about #recipes #recipes/abe #recipes/i like cheese# and stuff
.
<p><span class='hashtag'>#recipes</span> <span class='hashtag'>#recipes/abe</span> <span class='hashtag'>#recipes/i like cheese#</span></p>
<p>don't forget about <span class='hashtag'>#recipes</span> <span class='hashtag'>#recipes/abe</span> <span class='hashtag'>#recipes/i like cheese#</span> and stuff</p>
.

.
::Mark::
Expand Down

0 comments on commit 00ddaab

Please sign in to comment.