Skip to content

Commit

Permalink
Updated tests to include italics and bold not breaking links, inline …
Browse files Browse the repository at this point in the history
…and multi-line code blocks
  • Loading branch information
lux committed Oct 4, 2023
1 parent c3974b2 commit 278ef5a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/fixtures/expected/005-links.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<p>A <a href='http://www.google.com'>link</a> and <a href='http://yahoo.com/'>another link</a>.</p>
<p>A <a href='http://www.google.com'>link</a> and <a href='http://yahoo.com/path/_with_/underscores'>another link</a>.</p>
2 changes: 1 addition & 1 deletion tests/fixtures/expected/009-inline-code.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<p>More text with <code>inline($code)</code> sample.</p>
<p>More text with <code>inline($code_block_test)</code> sample.</p>
2 changes: 1 addition & 1 deletion tests/fixtures/expected/011-code-block.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<pre><code>function foo () {<br> print ('Foo');<br>}</code></pre>
<pre><code>function foo () {<br> print ('*Foo* _bar_');<br>}</code></pre>
2 changes: 1 addition & 1 deletion tests/fixtures/input/005-links.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
A [link](http://www.google.com) and [another link](http://yahoo.com/).
A [link](http://www.google.com) and [another link](http://yahoo.com/path/_with_/underscores).
2 changes: 1 addition & 1 deletion tests/fixtures/input/009-inline-code.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
More text with `inline($code)` sample.
More text with `inline($code_block_test)` sample.
2 changes: 1 addition & 1 deletion tests/fixtures/input/011-code-block.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```
function foo () {
print ('Foo');
print ('*Foo* _bar_');
}
```

0 comments on commit 278ef5a

Please sign in to comment.