diff options
Diffstat (limited to 'tests2/php-markdown-cases-new')
35 files changed, 0 insertions, 616 deletions
diff --git a/tests2/php-markdown-cases-new/Backslash escapes.html b/tests2/php-markdown-cases-new/Backslash escapes.html deleted file mode 100644 index 6d65ce1..0000000 --- a/tests2/php-markdown-cases-new/Backslash escapes.html +++ /dev/null @@ -1,14 +0,0 @@ -<p>Tricky combinaisons: -</p> - -<p>backslash with \-- two dashes -</p> - -<p>backslash with \> greater than -</p> - -<p>\[test](not a link) -</p> - -<p>\*no emphasis* -</p> diff --git a/tests2/php-markdown-cases-new/Backslash escapes.txt b/tests2/php-markdown-cases-new/Backslash escapes.txt deleted file mode 100644 index a5e769b..0000000 --- a/tests2/php-markdown-cases-new/Backslash escapes.txt +++ /dev/null @@ -1 +0,0 @@ -Tricky combinaisons:
backslash with \\-- two dashes
backslash with \\> greater than
\\\[test](not a link)
\\\*no emphasis*
\ No newline at end of file diff --git a/tests2/php-markdown-cases-new/Code Spans.html b/tests2/php-markdown-cases-new/Code Spans.html deleted file mode 100644 index a5a2ddc..0000000 --- a/tests2/php-markdown-cases-new/Code Spans.html +++ /dev/null @@ -1,8 +0,0 @@ -<p>From <code><!--</code> to <code>--></code> -on two lines. -</p> - -<p>From <code><!--</code> -to <code>--></code> -on three lines. -</p> diff --git a/tests2/php-markdown-cases-new/Code Spans.txt b/tests2/php-markdown-cases-new/Code Spans.txt deleted file mode 100644 index 43f2bcf..0000000 --- a/tests2/php-markdown-cases-new/Code Spans.txt +++ /dev/null @@ -1,6 +0,0 @@ -From `<!--` to `-->` -on two lines. - -From `<!--` -to `-->` -on three lines. diff --git a/tests2/php-markdown-cases-new/Code block in a list item.html b/tests2/php-markdown-cases-new/Code block in a list item.html deleted file mode 100644 index ed86f62..0000000 --- a/tests2/php-markdown-cases-new/Code block in a list item.html +++ /dev/null @@ -1,11 +0,0 @@ -<ul> -<li><p>List Item: -</p> - -<pre><code>code block - -with a blank line -</code></pre><p>within a list item. -</p> -</li> -</ul>
\ No newline at end of file diff --git a/tests2/php-markdown-cases-new/Code block in a list item.txt b/tests2/php-markdown-cases-new/Code block in a list item.txt deleted file mode 100644 index 3fa24c3..0000000 --- a/tests2/php-markdown-cases-new/Code block in a list item.txt +++ /dev/null @@ -1,8 +0,0 @@ - -* List Item: - - code block - - with a blank line - - within a list item.
\ No newline at end of file diff --git a/tests2/php-markdown-cases-new/Email auto links.html b/tests2/php-markdown-cases-new/Email auto links.html deleted file mode 100644 index 36fb7e7..0000000 --- a/tests2/php-markdown-cases-new/Email auto links.html +++ /dev/null @@ -1,5 +0,0 @@ -<p><a href="mailto:michel.fortin@michelf.com">michel.fortin@michelf.com</a> -</p> - -<p>International domain names: <a href="mailto:help@tūdaliņ.lv">help@tūdaliņ.lv</a> -</p> diff --git a/tests2/php-markdown-cases-new/Email auto links.txt b/tests2/php-markdown-cases-new/Email auto links.txt deleted file mode 100644 index a8af4ec..0000000 --- a/tests2/php-markdown-cases-new/Email auto links.txt +++ /dev/null @@ -1,3 +0,0 @@ -<michel.fortin@michelf.com> - -International domain names: <help@tūdaliņ.lv>
\ No newline at end of file diff --git a/tests2/php-markdown-cases-new/Emphasis.html b/tests2/php-markdown-cases-new/Emphasis.html deleted file mode 100644 index 85a532d..0000000 --- a/tests2/php-markdown-cases-new/Emphasis.html +++ /dev/null @@ -1,160 +0,0 @@ -<p>Combined emphasis: -</p> - -<ol> -<li> -<strong><em>test test</em></strong> -</li> -<li> -<strong><em>test test</em></strong> -</li> -<li> -<em>test <strong>test</strong></em> -</li> -<li> -<strong>test <em>test</em></strong> -</li> -<li> -<strong><em>test</em> test</strong> -</li> -<li> -<em><strong>test</strong> test</em> -</li> -<li> -<strong><em>test</em> test</strong> -</li> -<li> -<strong>test <em>test</em></strong> -</li> -<li> -<em>test <strong>test</strong></em> -</li> -<li> -<em>test <strong>test</strong></em> -</li> -<li> -<strong>test <em>test</em></strong> -</li> -<li> -<strong><em>test</em> test</strong> -</li> -<li> -<em><strong>test</strong> test</em> -</li> -<li> -<strong><em>test</em> test</strong> -</li> -<li> -<strong>test <em>test</em></strong> -</li> -<li> -<em>test <strong>test</strong></em> -</li> -</ol> - -<p>Incorrect nesting: -</p> - -<ol> -<li> -*test <strong>test* test</strong> -</li> -<li> -_test <strong>test_ test</strong> -</li> -<li> -**test <em>test</em>* test* -</li> -<li> -__test <em>test</em>_ test_ -</li> -<li> -<em>test *test</em> test* -</li> -<li> -<em>test _test</em> test_ -</li> -<li> -<strong>test <strong>test</strong> test</strong> -</li> -<li> -<strong>test <strong>test</strong> test</strong> -</li> -</ol> - -<p>No emphasis: -</p> - -<ol> -<li> -test* test *test -</li> -<li> -test** test **test -</li> -<li> -test_ test _test -</li> -<li> -test__ test __test -</li> -</ol> - -<p>Middle-word emphasis (asterisks): -</p> - -<ol> -<li> -<em>a</em>b -</li> -<li> -a<em>b</em> -</li> -<li> -a<em>b</em>c -</li> -<li> -<strong>a</strong>b -</li> -<li> -a<strong>b</strong> -</li> -<li> -a<strong>b</strong>c -</li> -</ol> - -<p>Middle-word emphasis (underscore): -</p> - -<ol> -<li> -<em>a</em>b -</li> -<li> -a<em>b</em> -</li> -<li> -a<em>b</em>c -</li> -<li> -<strong>a</strong>b -</li> -<li> -a<strong>b</strong> -</li> -<li> -a<strong>b</strong>c -</li> -</ol> - -<p>my<em>precious</em>file.txt -</p> - -<h2>Tricky Cases</h2> - -<p>E**. <strong>Test</strong> TestTestTest -</p> - -<p>E**. <strong>Test</strong> Test Test Test -</p> diff --git a/tests2/php-markdown-cases-new/Emphasis.txt b/tests2/php-markdown-cases-new/Emphasis.txt deleted file mode 100644 index ec48dec..0000000 --- a/tests2/php-markdown-cases-new/Emphasis.txt +++ /dev/null @@ -1,69 +0,0 @@ -Combined emphasis: - -1. ***test test*** -2. ___test test___ -3. *test **test*** -4. **test *test*** -5. ***test* test** -6. ***test** test* -7. ***test* test** -8. **test *test*** -9. *test **test*** -10. _test __test___ -11. __test _test___ -12. ___test_ test__ -13. ___test__ test_ -14. ___test_ test__ -15. __test _test___ -16. _test __test___ - - -Incorrect nesting: - -1. *test **test* test** -2. _test __test_ test__ -3. **test *test** test* -4. __test _test__ test_ -5. *test *test* test* -6. _test _test_ test_ -7. **test **test** test** -8. __test __test__ test__ - - - -No emphasis: - -1. test* test *test -2. test** test **test -3. test_ test _test -4. test__ test __test - - - -Middle-word emphasis (asterisks): - -1. *a*b -2. a*b* -3. a*b*c -4. **a**b -5. a**b** -6. a**b**c - - -Middle-word emphasis (underscore): - -1. _a_b -2. a_b_ -3. a_b_c -4. __a__b -5. a__b__ -6. a__b__c - -my_precious_file.txt - - -## Tricky Cases - -E**. **Test** TestTestTest - -E**. **Test** Test Test Test diff --git a/tests2/php-markdown-cases-new/Headers.html b/tests2/php-markdown-cases-new/Headers.html deleted file mode 100644 index 84628d3..0000000 --- a/tests2/php-markdown-cases-new/Headers.html +++ /dev/null @@ -1,48 +0,0 @@ -<h1>Header</h1> - -<h2>Header</h2> - -<h3>Header</h3> - -<hr /> - -<h1>Header</h1> - -<p>Paragraph -</p> - -<h2>Header</h2> - -<p>Paragraph -</p> - -<h3>Header</h3> - -<p>Paragraph -</p> - -<hr /> - -<p>Paragraph -</p> - -<h1>Header</h1> - -<p>Paragraph -</p> - -<p>Paragraph -</p> - -<h2>Header</h2> - -<p>Paragraph -</p> - -<p>Paragraph -</p> - -<h3>Header</h3> - -<p>Paragraph -</p> diff --git a/tests2/php-markdown-cases-new/Headers.txt b/tests2/php-markdown-cases-new/Headers.txt deleted file mode 100644 index 3a39174..0000000 --- a/tests2/php-markdown-cases-new/Headers.txt +++ /dev/null @@ -1,9 +0,0 @@ -Header
======
Header
------
### Header - - - - - - -Header
======
Paragraph
Header
------
Paragraph
### Header
Paragraph - - - - - - -Paragraph
Header
======
Paragraph
Paragraph
Header
------
Paragraph
Paragraph
### Header
Paragraph
\ No newline at end of file diff --git a/tests2/php-markdown-cases-new/Images (Untitled).html b/tests2/php-markdown-cases-new/Images (Untitled).html deleted file mode 100644 index 6ca4df1..0000000 --- a/tests2/php-markdown-cases-new/Images (Untitled).html +++ /dev/null @@ -1,8 +0,0 @@ -<p><img src="/url/" alt="alt text"/> -</p> - -<p><img src="/url/" alt="alt text"/> -</p> - -<p><img src="/url/" alt="alt text"/> -</p> diff --git a/tests2/php-markdown-cases-new/Images (Untitled).txt b/tests2/php-markdown-cases-new/Images (Untitled).txt deleted file mode 100644 index cb481de..0000000 --- a/tests2/php-markdown-cases-new/Images (Untitled).txt +++ /dev/null @@ -1,7 +0,0 @@ -![alt text](/url/) - -![alt text](</url/>) - -![alt text][foo] - - [foo]: /url/
\ No newline at end of file diff --git a/tests2/php-markdown-cases-new/Inline HTML (Simple).html b/tests2/php-markdown-cases-new/Inline HTML (Simple).html deleted file mode 100644 index 2bb568d..0000000 --- a/tests2/php-markdown-cases-new/Inline HTML (Simple).html +++ /dev/null @@ -1,17 +0,0 @@ -<p>With some attributes: -</p> - -<div id="test"> - foo -</div> - -<div id="test" - class="nono"> - foo -</div> - -<p>Hr's: -</p> - -<hr class="foo" - id="bar" >
\ No newline at end of file diff --git a/tests2/php-markdown-cases-new/Inline HTML (Simple).txt b/tests2/php-markdown-cases-new/Inline HTML (Simple).txt deleted file mode 100644 index 9177105..0000000 --- a/tests2/php-markdown-cases-new/Inline HTML (Simple).txt +++ /dev/null @@ -1,15 +0,0 @@ -With some attributes: - -<div id="test"> - foo -</div> - -<div id="test" - class="nono"> - foo -</div> - -Hr's: - -<hr class="foo" - id="bar" > diff --git a/tests2/php-markdown-cases-new/Inline HTML (Span).html b/tests2/php-markdown-cases-new/Inline HTML (Span).html deleted file mode 100644 index beddfe2..0000000 --- a/tests2/php-markdown-cases-new/Inline HTML (Span).html +++ /dev/null @@ -1,5 +0,0 @@ -<p><abbr title="` **Attribute Content Is Not A Code Span** `">ACINACS</abbr> -</p> - -<p><abbr title="`first backtick!">SB</abbr> -<abbr title="`second backtick!">SB</abbr></p>
\ No newline at end of file diff --git a/tests2/php-markdown-cases-new/Inline HTML (Span).txt b/tests2/php-markdown-cases-new/Inline HTML (Span).txt deleted file mode 100644 index 19028bb..0000000 --- a/tests2/php-markdown-cases-new/Inline HTML (Span).txt +++ /dev/null @@ -1,4 +0,0 @@ -<abbr title="` **Attribute Content Is Not A Code Span** `">ACINACS</abbr> - -<abbr title="`first backtick!">SB</abbr> -<abbr title="`second backtick!">SB</abbr>
\ No newline at end of file diff --git a/tests2/php-markdown-cases-new/Inline HTML comments.html b/tests2/php-markdown-cases-new/Inline HTML comments.html deleted file mode 100644 index 877bcfb..0000000 --- a/tests2/php-markdown-cases-new/Inline HTML comments.html +++ /dev/null @@ -1,12 +0,0 @@ -<p>Paragraph one. -</p> - -<!-- double--dash (invalid SGML comment) --> - -<p>Paragraph two. -</p> - -<!-- enclosed tag </div> --> - -<p>The end. -</p> diff --git a/tests2/php-markdown-cases-new/Inline HTML comments.txt b/tests2/php-markdown-cases-new/Inline HTML comments.txt deleted file mode 100644 index d57d00a..0000000 --- a/tests2/php-markdown-cases-new/Inline HTML comments.txt +++ /dev/null @@ -1,9 +0,0 @@ -Paragraph one. - -<!-- double--dash (invalid SGML comment) --> - -Paragraph two. - -<!-- enclosed tag </div> --> - -The end. diff --git a/tests2/php-markdown-cases-new/Ins & del.html b/tests2/php-markdown-cases-new/Ins & del.html deleted file mode 100644 index f5997a7..0000000 --- a/tests2/php-markdown-cases-new/Ins & del.html +++ /dev/null @@ -1,22 +0,0 @@ -<p>Here is a block tag ins: -</p> - -<ins> -<p>Some text</p> -</ins> - -<ins>And here it is inside a paragraph.</ins> - - -<p>And here it is <ins>in the middle of</ins> a paragraph. -</p> - -<del> -<p>Some text</p> -</del> - -<del>And here is ins as a paragraph.</del> - - -<p>And here it is <del>in the middle of</del> a paragraph. -</p> diff --git a/tests2/php-markdown-cases-new/Ins & del.txt b/tests2/php-markdown-cases-new/Ins & del.txt deleted file mode 100644 index 2d54c66..0000000 --- a/tests2/php-markdown-cases-new/Ins & del.txt +++ /dev/null @@ -1,17 +0,0 @@ -Here is a block tag ins: - -<ins> -<p>Some text</p> -</ins> - -<ins>And here it is inside a paragraph.</ins> - -And here it is <ins>in the middle of</ins> a paragraph. - -<del> -<p>Some text</p> -</del> - -<del>And here is ins as a paragraph.</del> - -And here it is <del>in the middle of</del> a paragraph. diff --git a/tests2/php-markdown-cases-new/Links, inline style.html b/tests2/php-markdown-cases-new/Links, inline style.html deleted file mode 100644 index 195cedf..0000000 --- a/tests2/php-markdown-cases-new/Links, inline style.html +++ /dev/null @@ -1,2 +0,0 @@ -<p><a href="?}]*+|&)">silly URL w/ angle brackets</a>. -</p> diff --git a/tests2/php-markdown-cases-new/Links, inline style.txt b/tests2/php-markdown-cases-new/Links, inline style.txt deleted file mode 100644 index 600a044..0000000 --- a/tests2/php-markdown-cases-new/Links, inline style.txt +++ /dev/null @@ -1 +0,0 @@ -[silly URL w/ angle brackets](<?}]*+|&)>). diff --git a/tests2/php-markdown-cases-new/MD5 Hashes.html b/tests2/php-markdown-cases-new/MD5 Hashes.html deleted file mode 100644 index 91283e0..0000000 --- a/tests2/php-markdown-cases-new/MD5 Hashes.html +++ /dev/null @@ -1,14 +0,0 @@ -<h1>Character Escapes</h1> - -<p>The MD5 value for <code>+</code> is "26b17225b626fb9238849fd60eabdf60". -</p> - -<h1>HTML Blocks</h1> - -<p>test</p> - -<p>The MD5 value for <code><p>test</p></code> is: -</p> - -<p>6205333b793f34273d75379350b36826 -</p> diff --git a/tests2/php-markdown-cases-new/MD5 Hashes.txt b/tests2/php-markdown-cases-new/MD5 Hashes.txt deleted file mode 100644 index 7e03221..0000000 --- a/tests2/php-markdown-cases-new/MD5 Hashes.txt +++ /dev/null @@ -1,11 +0,0 @@ -# Character Escapes - -The MD5 value for `+` is "26b17225b626fb9238849fd60eabdf60". - -# HTML Blocks - -<p>test</p> - -The MD5 value for `<p>test</p>` is: - -6205333b793f34273d75379350b36826
\ No newline at end of file diff --git a/tests2/php-markdown-cases-new/Nesting.html b/tests2/php-markdown-cases-new/Nesting.html deleted file mode 100644 index be47e21..0000000 --- a/tests2/php-markdown-cases-new/Nesting.html +++ /dev/null @@ -1,17 +0,0 @@ -<p>Valid nesting: -</p> - -<p><strong><a href="url">Link</a></strong> -</p> - -<p><a href="url"><strong>Link</strong></a> -</p> - -<p><strong><a href="url"><strong>Link</strong></a></strong> -</p> - -<p>Invalid nesting: -</p> - -<p><a href="url">[Link](url)</a> -</p> diff --git a/tests2/php-markdown-cases-new/Nesting.tags b/tests2/php-markdown-cases-new/Nesting.tags deleted file mode 100644 index cb77ed3..0000000 --- a/tests2/php-markdown-cases-new/Nesting.tags +++ /dev/null @@ -1 +0,0 @@ -knownfailure dontcare diff --git a/tests2/php-markdown-cases-new/Nesting.txt b/tests2/php-markdown-cases-new/Nesting.txt deleted file mode 100644 index 791538c..0000000 --- a/tests2/php-markdown-cases-new/Nesting.txt +++ /dev/null @@ -1,11 +0,0 @@ -Valid nesting: - -**[Link](url)** - -[**Link**](url) - -**[**Link**](url)** - -Invalid nesting: - -[[Link](url)](url)
\ No newline at end of file diff --git a/tests2/php-markdown-cases-new/PHP-Specific Bugs.html b/tests2/php-markdown-cases-new/PHP-Specific Bugs.html deleted file mode 100644 index 19943dd..0000000 --- a/tests2/php-markdown-cases-new/PHP-Specific Bugs.html +++ /dev/null @@ -1,20 +0,0 @@ -<p>This tests for a bug where quotes escaped by PHP when using -<code>preg_replace</code> with the <code>/e</code> modifier must be correctly unescaped -(hence the <code>_UnslashQuotes</code> function found only in PHP Markdown). -</p> - -<p>Headers below should appear exactly as they are typed (no backslash -added or removed). -</p> - -<h1>Header "quoted\" again \""</h1> - -<h2>Header "quoted\" again \""</h2> - -<h3>Header "quoted\" again \""</h3> - -<p>Test with tabs for <code>_Detab</code>: -</p> - -<pre><code>Code 'block' with some "tabs" and "quotes" -</code></pre> diff --git a/tests2/php-markdown-cases-new/PHP-Specific Bugs.txt b/tests2/php-markdown-cases-new/PHP-Specific Bugs.txt deleted file mode 100644 index 246b60d..0000000 --- a/tests2/php-markdown-cases-new/PHP-Specific Bugs.txt +++ /dev/null @@ -1,22 +0,0 @@ -This tests for a bug where quotes escaped by PHP when using -`preg_replace` with the `/e` modifier must be correctly unescaped -(hence the `_UnslashQuotes` function found only in PHP Markdown). - - - -Headers below should appear exactly as they are typed (no backslash -added or removed). - -Header "quoted\" again \\"" -=========================== - -Header "quoted\" again \\"" ---------------------------- - -### Header "quoted\" again \\"" ### - - - -Test with tabs for `_Detab`: - - Code 'block' with some "tabs" and "quotes" diff --git a/tests2/php-markdown-cases-new/Parens in URL.html b/tests2/php-markdown-cases-new/Parens in URL.html deleted file mode 100644 index 24254ff..0000000 --- a/tests2/php-markdown-cases-new/Parens in URL.html +++ /dev/null @@ -1,16 +0,0 @@ -<p><a href="/url(test)" title="title">Inline link 1 with parens</a>. -</p> - -<p><a href="/url(test)" title="title">Inline link 2 with parens</a>. -</p> - -<p><a href="/url(test)" title="title">Inline link 3 with non-escaped parens</a>. -</p> - -<p><a href="/url(test)" title="title">Inline link 4 with non-escaped parens</a>. -</p> - -<p><a href="/url(test)" title="title">Reference link 1 with parens</a>. -</p> - -<p><a href="/url(test)" title="title">Reference link 2 with parens</a>.</p>
\ No newline at end of file diff --git a/tests2/php-markdown-cases-new/Parens in URL.txt b/tests2/php-markdown-cases-new/Parens in URL.txt deleted file mode 100644 index bb7be4f..0000000 --- a/tests2/php-markdown-cases-new/Parens in URL.txt +++ /dev/null @@ -1,14 +0,0 @@ -[Inline link 1 with parens](/url\(test\) "title"). - -[Inline link 2 with parens](</url\(test\)> "title"). - -[Inline link 3 with non-escaped parens](/url(test) "title"). - -[Inline link 4 with non-escaped parens](</url(test)> "title"). - -[Reference link 1 with parens][1]. - -[Reference link 2 with parens][2]. - - [1]: /url(test) "title" - [2]: </url(test)> "title" diff --git a/tests2/php-markdown-cases-new/Tight blocks.html b/tests2/php-markdown-cases-new/Tight blocks.html deleted file mode 100644 index 3d9342d..0000000 --- a/tests2/php-markdown-cases-new/Tight blocks.html +++ /dev/null @@ -1,28 +0,0 @@ -<p>Paragraph and no space: -* ciao -</p> - -<p>Paragraph and 1 space: - * ciao -</p> - -<p>Paragraph and 3 spaces: - * ciao -</p> - -<p>Paragraph and 4 spaces: - * ciao -</p> - -<p>Paragraph before header: -</p> - -<h1>Header</h1> - -<p>Paragraph before blockquote: -</p> - -<blockquote> - <p>Some quote. -</p> -</blockquote> diff --git a/tests2/php-markdown-cases-new/Tight blocks.txt b/tests2/php-markdown-cases-new/Tight blocks.txt deleted file mode 100644 index ae4cdcb..0000000 --- a/tests2/php-markdown-cases-new/Tight blocks.txt +++ /dev/null @@ -1 +0,0 @@ -Paragraph and no space:
* ciao
Paragraph and 1 space:
* ciao
Paragraph and 3 spaces:
* ciao
Paragraph and 4 spaces:
* ciao
Paragraph before header:
#Header
Paragraph before blockquote:
>Some quote.
\ No newline at end of file |