"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/codeblock.t" between
discount-2.2.4.tar.bz2 and discount-2.2.6.tar.bz2

About: Discount is an implementation of the "Markdown" markup language (written in C).

codeblock.t  (discount-2.2.4.tar.bz2):codeblock.t  (discount-2.2.6.tar.bz2)
skipping to change at line 170 skipping to change at line 170
'<pre><code class="lang-name">code '<pre><code class="lang-name">code
</code></pre>' </code></pre>'
try -ffencedcode 'fenced code block with lang_name attribute and space' \ try -ffencedcode 'fenced code block with lang_name attribute and space' \
'``` lang_name '``` lang_name
code code
```' \ ```' \
'<pre><code class="lang_name">code '<pre><code class="lang_name">code
</code></pre>' </code></pre>'
try -ffencedcode 'fenced code block with blank line in the middle' \
'```
hello
sailor
```' \
'<pre><code>hello
sailor
</code></pre>'
try -ffencedcode 'fenced code block with html in the middle' \
'~~~~
<h1>hello, sailor</h1>
~~~~' \
'<pre><code>&lt;h1&gt;hello, sailor&lt;/h1&gt;
</code></pre>'
try -ffencedcode 'fenced code block with trailing spaces in list item' \
'1. ~~~~
test me
~~~~' \
'<ol>
<li><pre><code>test me
</code></pre></li>
</ol>'
try -ffencedcode 'unterminated fenced code block' \
'~~~~
foo' \
'<p>~~~~
foo</p>'
try -ffencedcode 'paragraph, then code block' \
'foo
~~~~
bar
~~~~' \
'<p>foo</p>
<pre><code>bar
</code></pre>'
summary $0 summary $0
exit $rc exit $rc
 End of changes. 1 change blocks. 
0 lines changed or deleted 44 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)