|
150 | 150 |
|
151 | 151 | ('<script>alert("hello");</script>', '\t<p><script>alert(“hello”);</script></p>'), |
152 | 152 |
|
153 | | - ('pre.. Hello\n\nHello Again\n\np. normal text', '<pre>Hello\n\nHello Again\n</pre>\n\n\t<p>normal text</p>'), |
| 153 | + ('pre.. Hello\n\nHello Again\n\np. normal text', '<pre>Hello\n\nHello Again</pre>\n\n\t<p>normal text</p>'), |
154 | 154 |
|
155 | 155 | ('<pre>this is in a pre tag</pre>', '<pre>this is in a pre tag</pre>'), |
156 | 156 |
|
|
180 | 180 |
|
181 | 181 | ('h2. A header\n\n\n\n\n\nsome text', '\t<h2>A header</h2>\n\n\t<p>some text</p>'), |
182 | 182 |
|
183 | | - ('pre.. foo bar baz\nquux', '<pre>foo bar baz\nquux\n</pre>'), |
| 183 | + ('pre.. foo bar baz\nquux', '<pre>foo bar baz\nquux</pre>'), |
184 | 184 |
|
185 | 185 | ('line of text\n\n leading spaces', |
186 | 186 | '\t<p>line of text</p>\n\n leading spaces'), |
|
286 | 286 | # issue 2 escaping |
287 | 287 | ('"foo ==(bar)==":#foobar', '\t<p><a href="#foobar">foo (bar)</a></p>'), |
288 | 288 | # issue 14 newlines in extended pre blocks |
289 | | - ("pre.. Hello\n\nAgain\n\np. normal text", '<pre>Hello\n\nAgain\n</pre>\n\n\t<p>normal text</p>'), |
| 289 | + ("pre.. Hello\n\nAgain\n\np. normal text", '<pre>Hello\n\nAgain</pre>\n\n\t<p>normal text</p>'), |
290 | 290 | # url with parentheses |
291 | 291 | ('"python":http://en.wikipedia.org/wiki/Python_(programming_language)', '\t<p><a href="http://en.wikipedia.org/wiki/Python_%28programming_language%29">python</a></p>'), |
292 | 292 | # table with hyphen styles |
293 | | - ('table(linkblog-thumbnail).\n|(linkblog-thumbnail-cell). apple|bear|', '\t<table class="linkblog-thumbnail">\n\t\t<tr>\n\t\t\t<td class="linkblog-thumbnail-cell" style="vertical-align:middle;">apple</td>\n\t\t\t<td>bear</td>\n\t\t</tr>\n\t</table>'), |
| 293 | + ('table(linkblog-thumbnail).\n|(linkblog-thumbnail-cell). apple|bear|', '\t<table class="linkblog-thumbnail">\n\t\t<tr>\n\t\t\t<td class="linkblog-thumbnail-cell">apple</td>\n\t\t\t<td>bear</td>\n\t\t</tr>\n\t</table>'), |
294 | 294 | # issue 32 empty table cells |
295 | 295 | ("|thing|||otherthing|", "\t<table>\n\t\t<tr>\n\t\t\t<td>thing</td>\n\t\t\t<td></td>\n\t\t\t<td></td>\n\t\t\t<td>otherthing</td>\n\t\t</tr>\n\t</table>"), |
296 | 296 | # issue 36 link reference names http and https |
|
0 commit comments