aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-11-05 08:46:42 +0000
committerMario <mario@mariovavti.com>2020-11-05 08:46:42 +0000
commitbafbf0416462c6f18c3fb6c8c06a063c8d6fdae6 (patch)
tree8929845be585b09d0f420621281c5531e1efad3e /vendor/michelf/php-markdown/test/resources/php-markdown.mdtest
parent6f93d9848c43019d43ea76c27d42d657ba031cd7 (diff)
parentfdefa101d84dc2a9424eaedbdb003a4c30ec5d01 (diff)
downloadvolse-hubzilla-5.0.tar.gz
volse-hubzilla-5.0.tar.bz2
volse-hubzilla-5.0.zip
Merge branch '5.0RC'5.0
Diffstat (limited to 'vendor/michelf/php-markdown/test/resources/php-markdown.mdtest')
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Adjacent Lists.text10
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Adjacent Lists.xhtml19
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Auto Links.text3
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Auto Links.xhtml3
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Backslash escapes.text1
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Backslash escapes.xhtml1
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code Spans.text6
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code Spans.xhtml6
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block in a list item.text15
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block in a list item.xhtml18
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block on second line.text2
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block on second line.xhtml2
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block regressions.text15
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block regressions.xhtml18
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Email auto links.text24
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Email auto links.xhtml23
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Emphasis.text101
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Emphasis.xhtml105
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Empty List Item.text35
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Empty List Item.xhtml47
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Headers.text9
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Headers.xhtml39
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Horizontal Rules.text29
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Horizontal Rules.xhtml30
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Simple).html25
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Simple).text25
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Span).text4
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Span).xhtml4
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML comments.html9
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML comments.text9
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Ins & del.text17
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Ins & del.xhtml17
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Links, inline style.text9
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Links, inline style.xhtml7
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/MD5 Hashes.text11
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/MD5 Hashes.xhtml11
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Mixed OLs and ULs.text13
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Mixed OLs and ULs.xhtml21
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Nesting.text11
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Nesting.xhtml11
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/PHP-Specific Bugs.text22
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/PHP-Specific Bugs.xhtml17
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Parens in URL.text14
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Parens in URL.xhtml11
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Quotes in attributes.text5
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Quotes in attributes.xhtml5
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Tight blocks.text1
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Tight blocks.xhtml21
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/XML empty tag.text2
-rw-r--r--vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/XML empty tag.xhtml2
50 files changed, 865 insertions, 0 deletions
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Adjacent Lists.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Adjacent Lists.text
new file mode 100644
index 000000000..21876d3a0
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Adjacent Lists.text
@@ -0,0 +1,10 @@
+* one
+* two
+
+1. three
+2. four
+
+* one
+* two
+1. three
+2. four \ No newline at end of file
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Adjacent Lists.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Adjacent Lists.xhtml
new file mode 100644
index 000000000..ee7dfd8fd
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Adjacent Lists.xhtml
@@ -0,0 +1,19 @@
+<ul>
+<li>one</li>
+<li>two</li>
+</ul>
+
+<ol>
+<li>three</li>
+<li>four</li>
+</ol>
+
+<ul>
+<li>one</li>
+<li>two</li>
+</ul>
+
+<ol>
+<li>three</li>
+<li>four</li>
+</ol>
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Auto Links.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Auto Links.text
new file mode 100644
index 000000000..4b10d325a
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Auto Links.text
@@ -0,0 +1,3 @@
+<HTTP://WWW.SOMEURL.COM>
+
+<hr@company.com> \ No newline at end of file
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Auto Links.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Auto Links.xhtml
new file mode 100644
index 000000000..259c47f74
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Auto Links.xhtml
@@ -0,0 +1,3 @@
+<p><a href="HTTP://WWW.SOMEURL.COM">HTTP://WWW.SOMEURL.COM</a></p>
+
+<p><a href="mailto:hr@company.com">hr@company.com</a></p> \ No newline at end of file
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Backslash escapes.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Backslash escapes.text
new file mode 100644
index 000000000..a5e769b7e
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Backslash escapes.text
@@ -0,0 +1 @@
+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/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Backslash escapes.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Backslash escapes.xhtml
new file mode 100644
index 000000000..08fb8ef84
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Backslash escapes.xhtml
@@ -0,0 +1 @@
+<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> \ No newline at end of file
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code Spans.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code Spans.text
new file mode 100644
index 000000000..43f2bcfd5
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code Spans.text
@@ -0,0 +1,6 @@
+From `<!--` to `-->`
+on two lines.
+
+From `<!--`
+to `-->`
+on three lines.
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code Spans.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code Spans.xhtml
new file mode 100644
index 000000000..9ed0df87e
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code Spans.xhtml
@@ -0,0 +1,6 @@
+<p>From <code>&lt;!--</code> to <code>--&gt;</code>
+on two lines.</p>
+
+<p>From <code>&lt;!--</code>
+to <code>--&gt;</code>
+on three lines.</p>
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block in a list item.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block in a list item.text
new file mode 100644
index 000000000..5093348f3
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block in a list item.text
@@ -0,0 +1,15 @@
+
+* List Item:
+
+ code block
+
+ with a blank line
+
+ within a list item.
+
+* code block
+ as first element of a list item
+
+* List Item:
+
+ code block with whitespace on preceding line \ No newline at end of file
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block in a list item.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block in a list item.xhtml
new file mode 100644
index 000000000..361c1ae22
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block in a list item.xhtml
@@ -0,0 +1,18 @@
+<ul>
+<li><p>List Item:</p>
+
+<pre><code>code block
+
+with a blank line
+</code></pre>
+
+<p>within a list item.</p></li>
+<li><pre><code>code block
+as first element of a list item
+</code></pre></li>
+
+<li><p>List Item:</p>
+
+<pre><code>code block with whitespace on preceding line
+</code></pre></li>
+</ul> \ No newline at end of file
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block on second line.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block on second line.text
new file mode 100644
index 000000000..b7fcd97c8
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block on second line.text
@@ -0,0 +1,2 @@
+
+ Codeblock on second line
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block on second line.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block on second line.xhtml
new file mode 100644
index 000000000..25abb16ed
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block on second line.xhtml
@@ -0,0 +1,2 @@
+<pre><code>Codeblock on second line
+</code></pre>
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block regressions.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block regressions.text
new file mode 100644
index 000000000..77281429a
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block regressions.text
@@ -0,0 +1,15 @@
+ <?php
+ echo "hello!";
+ ?>
+
+foo `bar`
+
+ <?php
+ echo "hello!";
+
+lorem ipsum
+
+ echo "hello!";
+ ?>
+
+lorem ipsum \ No newline at end of file
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block regressions.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block regressions.xhtml
new file mode 100644
index 000000000..41234decd
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Code block regressions.xhtml
@@ -0,0 +1,18 @@
+<pre><code>&lt;?php
+echo "hello!";
+?&gt;
+</code></pre>
+
+<p>foo <code>bar</code></p>
+
+<pre><code>&lt;?php
+echo "hello!";
+</code></pre>
+
+<p>lorem ipsum</p>
+
+<pre><code>echo "hello!";
+?&gt;
+</code></pre>
+
+<p>lorem ipsum</p>
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Email auto links.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Email auto links.text
new file mode 100644
index 000000000..592e7d50c
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Email auto links.text
@@ -0,0 +1,24 @@
+<michel.fortin@michelf.ca>
+
+International domain names: <help@tūdaliņ.lv>
+
+
+## Some weird valid email addresses
+
+<abc.123@example.com>
+
+<1234567890@example.com>
+
+<_______@example.com>
+
+<abc+mailbox/department=shipping@example.com>
+
+<!#$%&'*+-/=?^_`.{|}~@example.com> (all of these characters are allowed)
+
+<"abc@def"@example.com> (anything goes inside quotation marks)
+
+<"Fred Bloggs"@example.com>
+
+<jsmith@[192.0.2.1]>
+
+<"A"@example.com> \ No newline at end of file
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Email auto links.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Email auto links.xhtml
new file mode 100644
index 000000000..299482330
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Email auto links.xhtml
@@ -0,0 +1,23 @@
+<p><a href="&#109;&#x61;&#105;&#x6c;&#x74;&#111;&#x3a;&#109;&#x69;&#x63;&#104;&#x65;&#108;&#x2e;&#x66;&#111;&#x72;&#116;&#x69;&#x6e;&#64;&#x6d;&#105;&#x63;&#x68;&#101;&#x6c;&#102;&#x2e;&#x63;&#97;">&#109;&#x69;&#x63;&#104;&#x65;&#108;&#x2e;&#x66;&#111;&#x72;&#116;&#x69;&#x6e;&#64;&#x6d;&#105;&#x63;&#x68;&#101;&#x6c;&#102;&#x2e;&#x63;&#97;</a></p>
+
+<p>International domain names: <a href="&#x6d;&#97;&#105;&#x6c;&#x74;&#111;&#58;&#x68;&#x65;&#108;&#112;&#x40;&#x74;ū&#x64;&#x61;&#108;&#105;ņ&#46;&#108;&#x76;">&#x68;&#x65;&#108;&#112;&#x40;&#x74;ū&#x64;&#x61;&#108;&#105;ņ&#46;&#108;&#x76;</a></p>
+
+<h2>Some weird valid email addresses</h2>
+
+<p><a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#x3a;&#x61;&#x62;&#x63;&#x2e;&#x31;&#x32;&#x33;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;">&#x61;&#x62;&#x63;&#x2e;&#x31;&#x32;&#x33;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;</a></p>
+
+<p><a href="&#x6d;&#x61;&#105;&#108;t&#x6f;&#x3a;&#49;&#50;&#51;&#x34;&#x35;&#54;&#55;&#56;&#x39;&#x30;&#x40;&#101;&#120;a&#x6d;&#x70;&#108;&#101;.&#x63;&#x6f;&#109;">&#49;&#50;&#51;&#x34;&#x35;&#54;&#55;&#56;&#x39;&#x30;&#x40;&#101;&#120;a&#x6d;&#x70;&#108;&#101;.&#x63;&#x6f;&#109;</a></p>
+
+<p><a href="&#x6d;&#x61;&#105;&#108;&#116;&#111;&#x3a;&#x5f;&#x5f;&#95;&#95;&#95;_&#x5f;&#x40;&#x65;&#120;&#97;&#109;&#x70;&#x6c;&#x65;&#46;&#99;&#111;&#109;">&#x5f;&#x5f;&#95;&#95;&#95;_&#x5f;&#x40;&#x65;&#120;&#97;&#109;&#x70;&#x6c;&#x65;&#46;&#99;&#111;&#109;</a></p>
+
+<p><a href="&#109;a&#105;l&#116;o&#x3a;a&#x62;&#99;&#x2b;&#109;&#x61;&#105;&#x6c;&#98;&#x6f;&#120;&#x2f;&#100;&#x65;&#112;&#x61;&#114;&#x74;&#109;&#x65;&#110;&#x74;&#61;&#x73;&#104;&#x69;&#112;&#x70;&#105;&#x6e;&#103;&#x40;&#101;&#x78;&#97;&#x6d;&#112;&#x6c;&#101;&#x2e;&#99;&#x6f;&#109;">a&#x62;&#99;&#x2b;&#109;&#x61;&#105;&#x6c;&#98;&#x6f;&#120;&#x2f;&#100;&#x65;&#112;&#x61;&#114;&#x74;&#109;&#x65;&#110;&#x74;&#61;&#x73;&#104;&#x69;&#112;&#x70;&#105;&#x6e;&#103;&#x40;&#101;&#x78;&#97;&#x6d;&#112;&#x6c;&#101;&#x2e;&#99;&#x6f;&#109;</a></p>
+
+<p><a href="&#x6d;&#97;&#x69;&#x6c;&#116;&#x6f;&#x3a;&#33;&#x23;&#x24;&#37;&#x26;&#x27;&#42;&#x2b;&#x2d;&#47;&#x3d;&#63;&#94;&#x5f;&#96;&#46;&#x7b;&#124;&#125;&#x7e;&#64;&#101;&#x78;&#97;&#109;&#x70;&#108;&#101;&#x2e;&#99;o&#x6d;">&#33;&#x23;&#x24;&#37;&#x26;&#x27;&#42;&#x2b;&#x2d;&#47;&#x3d;&#63;&#94;&#x5f;&#96;&#46;&#x7b;&#124;&#125;&#x7e;&#64;&#101;&#x78;&#97;&#109;&#x70;&#108;&#101;&#x2e;&#99;o&#x6d;</a> (all of these characters are allowed)</p>
+
+<p><a href="&#109;&#x61;&#x69;&#108;&#116;&#x6f;&#58;&#34;&#x61;&#98;&#99;&#x40;d&#101;&#x66;&#x22;&#64;&#x65;&#x78;&#97;&#109;&#x70;&#108;&#101;&#x2e;c&#111;&#x6d;">&#34;&#x61;&#98;&#99;&#x40;d&#101;&#x66;&#x22;&#64;&#x65;&#x78;&#97;&#109;&#x70;&#108;&#101;&#x2e;c&#111;&#x6d;</a> (anything goes inside quotation marks)</p>
+
+<p><a href="&#x6d;&#97;&#x69;&#x6c;&#116;&#x6f;&#x3a;&#34;&#x46;&#x72;&#101;&#x64;&#x20;&#66;&#x6c;&#x6f;&#103;&#x67;&#115;&#34;&#x40;&#101;&#120;&#x61;&#109;&#112;&#x6c;&#101;&#46;&#x63;&#111;&#109;">&#34;&#x46;&#x72;&#101;&#x64;&#x20;&#66;&#x6c;&#x6f;&#103;&#x67;&#115;&#34;&#x40;&#101;&#120;&#x61;&#109;&#112;&#x6c;&#101;&#46;&#x63;&#111;&#109;</a></p>
+
+<p><a href="&#x6d;&#97;&#x69;&#108;&#x74;&#x6f;&#58;&#x6a;&#115;&#x6d;&#x69;&#116;&#x68;&#64;&#x5b;&#x31;&#57;&#x32;&#46;&#x30;&#x2e;&#50;&#x2e;&#49;&#x5d;">&#x6a;&#115;&#x6d;&#x69;&#116;&#x68;&#64;&#x5b;&#x31;&#57;&#x32;&#46;&#x30;&#x2e;&#50;&#x2e;&#49;&#x5d;</a></p>
+
+<p><a href="&#x6d;&#x61;&#x69;&#108;&#116;&#111;&#58;&#x22;&#x41;&#x22;&#x40;&#x65;&#120;&#97;&#109;p&#x6c;&#x65;&#x2e;&#x63;&#111;&#109;">&#x22;&#x41;&#x22;&#x40;&#x65;&#120;&#97;&#109;p&#x6c;&#x65;&#x2e;&#x63;&#111;&#109;</a></p>
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Emphasis.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Emphasis.text
new file mode 100644
index 000000000..ff144b80b
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Emphasis.text
@@ -0,0 +1,101 @@
+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___
+17. *test __test__*
+18. **test _test_**
+19. **_test_ test**
+20. *__test__ test*
+21. **_test_ test**
+22. **test _test_**
+23. *test __test__*
+24. _test **test**_
+25. __test *test*__
+26. __*test* test__
+27. _**test** test_
+28. __*test* test__
+29. __test *test*__
+30. _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__
+9. _**some text_**
+10. *__some text*__
+11. **_some text**_
+12. *__some text*__
+
+
+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
+
+
+## Overlong emphasis
+
+Name: ____________
+Organization: ____
+Region/Country: __
+
+_____Cut here_____
+
+____Cut here____
+
+# Regression
+
+_**Note**_: This _is emphasis_.
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Emphasis.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Emphasis.xhtml
new file mode 100644
index 000000000..8be015f51
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Emphasis.xhtml
@@ -0,0 +1,105 @@
+<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>
+<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><strong>test *test</strong> test*</li>
+<li><strong>test _test</strong> test_</li>
+<li><em>test *test</em> test*</li>
+<li><em>test _test</em> test_</li>
+<li><strong>test **test</strong> test**</li>
+<li><strong>test __test</strong> test__</li>
+<li>_<strong>some text_</strong></li>
+<li>*<strong>some text*</strong></li>
+<li><strong>_some text</strong>_</li>
+<li>*<strong>some text*</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>
+
+
+<h2>Overlong emphasis</h2>
+
+<p>Name: ____________<br />
+Organization: ____<br />
+Region/Country: __</p>
+
+<p>_____Cut here_____</p>
+
+<p>____Cut here____</p>
+
+<h1>Regression</h1>
+
+<p><em><strong>Note</strong></em>: This <em>is emphasis</em>.</p> \ No newline at end of file
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Empty List Item.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Empty List Item.text
new file mode 100644
index 000000000..3c4edba06
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Empty List Item.text
@@ -0,0 +1,35 @@
+With asterisks
+
+ * List item
+ *
+ * List item
+
+With numbers
+
+1. List item
+2.
+3. List item
+
+With hyphens
+
+- List item
+-
+- List item
+
+With asterisks
+
+ * List item
+ * List item
+ *
+
+With numbers
+
+1. List item
+2. List item
+3.
+
+With hyphens
+
+- List item
+- List item
+-
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Empty List Item.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Empty List Item.xhtml
new file mode 100644
index 000000000..02d86edd3
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Empty List Item.xhtml
@@ -0,0 +1,47 @@
+<p>With asterisks</p>
+
+<ul>
+<li>List item</li>
+<li></li>
+<li>List item</li>
+</ul>
+
+<p>With numbers</p>
+
+<ol>
+<li>List item</li>
+<li></li>
+<li>List item</li>
+</ol>
+
+<p>With hyphens</p>
+
+<ul>
+<li>List item</li>
+<li></li>
+<li>List item</li>
+</ul>
+
+<p>With asterisks</p>
+
+<ul>
+<li>List item</li>
+<li>List item</li>
+<li></li>
+</ul>
+
+<p>With numbers</p>
+
+<ol>
+<li>List item</li>
+<li>List item</li>
+<li></li>
+</ol>
+
+<p>With hyphens</p>
+
+<ul>
+<li>List item</li>
+<li>List item</li>
+<li></li>
+</ul> \ No newline at end of file
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Headers.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Headers.text
new file mode 100644
index 000000000..3a39174a5
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Headers.text
@@ -0,0 +1,9 @@
+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/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Headers.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Headers.xhtml
new file mode 100644
index 000000000..3adb47074
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Headers.xhtml
@@ -0,0 +1,39 @@
+<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/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Horizontal Rules.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Horizontal Rules.text
new file mode 100644
index 000000000..8e2da0b11
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Horizontal Rules.text
@@ -0,0 +1,29 @@
+Horizontal rules:
+
+- - -
+
+* * *
+
+***
+
+---
+
+___
+
+Not horizontal rules (testing for a bug in 1.0.1j):
+
++++
+
+,,,
+
+===
+
+???
+
+AAA
+
+jjj
+
+j j j
+
+n n n
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Horizontal Rules.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Horizontal Rules.xhtml
new file mode 100644
index 000000000..b9170b1eb
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Horizontal Rules.xhtml
@@ -0,0 +1,30 @@
+<p>Horizontal rules:</p>
+
+<hr />
+
+<hr />
+
+<hr />
+
+<hr />
+
+<hr />
+
+<p>Not horizontal rules (testing for a bug in 1.0.1j):</p>
+
+<p>+++</p>
+
+<p>,,,</p>
+
+<p>===</p>
+
+<p>???</p>
+
+<p>AAA</p>
+
+<p>jjj</p>
+
+<p>j j j</p>
+
+<p>n n n</p>
+
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Simple).html b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Simple).html
new file mode 100644
index 000000000..1451d625b
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Simple).html
@@ -0,0 +1,25 @@
+<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" >
+
+<p>Regression:</p>
+
+<pre>
+#test
+</pre>
+
+<p>Hello</p>
+<p>Michael</p>
+<p>E.</p> \ No newline at end of file
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Simple).text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Simple).text
new file mode 100644
index 000000000..359b622fd
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Simple).text
@@ -0,0 +1,25 @@
+With some attributes:
+
+<div id="test">
+ foo
+</div>
+
+<div id="test"
+ class="nono">
+ foo
+</div>
+
+Hr's:
+
+<hr class="foo"
+ id="bar" >
+
+Regression:
+
+<pre>
+#test
+</pre>
+
+<p>Hello</p>
+<p>Michael</p>
+<p>E.</p> \ No newline at end of file
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Span).text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Span).text
new file mode 100644
index 000000000..19028bb3e
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Span).text
@@ -0,0 +1,4 @@
+<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/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Span).xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Span).xhtml
new file mode 100644
index 000000000..4d18affe9
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML (Span).xhtml
@@ -0,0 +1,4 @@
+<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/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML comments.html b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML comments.html
new file mode 100644
index 000000000..b45f01481
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML comments.html
@@ -0,0 +1,9 @@
+<p>Paragraph one.</p>
+
+<!-- double--dash (invalid SGML comment) -->
+
+<p>Paragraph two.</p>
+
+<!-- enclosed tag </div> -->
+
+<p>The end.</p>
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML comments.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML comments.text
new file mode 100644
index 000000000..d57d00aa3
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Inline HTML comments.text
@@ -0,0 +1,9 @@
+Paragraph one.
+
+<!-- double--dash (invalid SGML comment) -->
+
+Paragraph two.
+
+<!-- enclosed tag </div> -->
+
+The end.
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Ins & del.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Ins & del.text
new file mode 100644
index 000000000..2d54c660d
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Ins & del.text
@@ -0,0 +1,17 @@
+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/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Ins & del.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Ins & del.xhtml
new file mode 100644
index 000000000..60e8c5ff0
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Ins & del.xhtml
@@ -0,0 +1,17 @@
+<p>Here is a block tag ins:</p>
+
+<ins>
+<p>Some text</p>
+</ins>
+
+<p><ins>And here it is inside a paragraph.</ins></p>
+
+<p>And here it is <ins>in the middle of</ins> a paragraph.</p>
+
+<del>
+<p>Some text</p>
+</del>
+
+<p><del>And here is ins as a paragraph.</del></p>
+
+<p>And here it is <del>in the middle of</del> a paragraph.</p>
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Links, inline style.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Links, inline style.text
new file mode 100644
index 000000000..1c9195bd3
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Links, inline style.text
@@ -0,0 +1,9 @@
+[silly URL w/ angle brackets](<?}]*+|&)>).
+
+[link](<url://with spaces> "title").
+
+[link][].
+
+[link]: <url with spaces> "title"
+
+[link](<s p a c e s>) \ No newline at end of file
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Links, inline style.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Links, inline style.xhtml
new file mode 100644
index 000000000..bbc06fd09
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Links, inline style.xhtml
@@ -0,0 +1,7 @@
+<p><a href="?}]*+|&amp;)">silly URL w/ angle brackets</a>.</p>
+
+<p><a href="url://with spaces" title="title">link</a>.</p>
+
+<p><a href="url with spaces" title="title">link</a>.</p>
+
+<p><a href="s p a c e s">link</a></p> \ No newline at end of file
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/MD5 Hashes.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/MD5 Hashes.text
new file mode 100644
index 000000000..7e032218c
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/MD5 Hashes.text
@@ -0,0 +1,11 @@
+# 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/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/MD5 Hashes.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/MD5 Hashes.xhtml
new file mode 100644
index 000000000..894e4aa7b
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/MD5 Hashes.xhtml
@@ -0,0 +1,11 @@
+<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>&lt;p&gt;test&lt;/p&gt;</code> is:</p>
+
+<p>6205333b793f34273d75379350b36826</p>
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Mixed OLs and ULs.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Mixed OLs and ULs.text
new file mode 100644
index 000000000..cecde2120
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Mixed OLs and ULs.text
@@ -0,0 +1,13 @@
+* test
++ test
+- test
+
+1. test
+2. test
+
+* test
++ test
+- test
+
+1. test
+2. test
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Mixed OLs and ULs.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Mixed OLs and ULs.xhtml
new file mode 100644
index 000000000..0872aaaf5
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Mixed OLs and ULs.xhtml
@@ -0,0 +1,21 @@
+<ul>
+<li>test</li>
+<li>test</li>
+<li>test</li>
+</ul>
+
+<ol>
+<li>test</li>
+<li>test</li>
+</ol>
+
+<ul>
+<li>test</li>
+<li>test</li>
+<li>test</li>
+</ul>
+
+<ol>
+<li>test</li>
+<li>test</li>
+</ol>
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Nesting.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Nesting.text
new file mode 100644
index 000000000..791538c06
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Nesting.text
@@ -0,0 +1,11 @@
+Valid nesting:
+
+**[Link](url)**
+
+[**Link**](url)
+
+**[**Link**](url)**
+
+Invalid nesting:
+
+[[Link](url)](url) \ No newline at end of file
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Nesting.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Nesting.xhtml
new file mode 100644
index 000000000..37845d311
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Nesting.xhtml
@@ -0,0 +1,11 @@
+<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/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/PHP-Specific Bugs.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/PHP-Specific Bugs.text
new file mode 100644
index 000000000..246b60d1c
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/PHP-Specific Bugs.text
@@ -0,0 +1,22 @@
+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/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/PHP-Specific Bugs.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/PHP-Specific Bugs.xhtml
new file mode 100644
index 000000000..c982417b6
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/PHP-Specific Bugs.xhtml
@@ -0,0 +1,17 @@
+<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/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Parens in URL.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Parens in URL.text
new file mode 100644
index 000000000..bb7be4fb8
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Parens in URL.text
@@ -0,0 +1,14 @@
+[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/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Parens in URL.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Parens in URL.xhtml
new file mode 100644
index 000000000..a81aa029b
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Parens in URL.xhtml
@@ -0,0 +1,11 @@
+<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/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Quotes in attributes.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Quotes in attributes.text
new file mode 100644
index 000000000..97922860c
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Quotes in attributes.text
@@ -0,0 +1,5 @@
+[Test](/"style="color:red)
+[Test](/'style='color:red)
+
+![](/"style="border-color:red;border-size:1px;border-style:solid)
+![](/'style='border-color:red;border-size:1px;border-style:solid)
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Quotes in attributes.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Quotes in attributes.xhtml
new file mode 100644
index 000000000..e3fcfd205
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Quotes in attributes.xhtml
@@ -0,0 +1,5 @@
+<p><a href="/&quot;style=&quot;color:red">Test</a>
+<a href="/'style='color:red">Test</a></p>
+
+<p><img src="/&quot;style=&quot;border-color:red;border-size:1px;border-style:solid" alt="" />
+<img src="/'style='border-color:red;border-size:1px;border-style:solid" alt="" /></p>
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Tight blocks.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Tight blocks.text
new file mode 100644
index 000000000..ae4cdcb46
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Tight blocks.text
@@ -0,0 +1 @@
+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
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Tight blocks.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Tight blocks.xhtml
new file mode 100644
index 000000000..86554308b
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/Tight blocks.xhtml
@@ -0,0 +1,21 @@
+<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/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/XML empty tag.text b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/XML empty tag.text
new file mode 100644
index 000000000..97714ab97
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/XML empty tag.text
@@ -0,0 +1,2 @@
+First line. <br/>
+Second line.
diff --git a/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/XML empty tag.xhtml b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/XML empty tag.xhtml
new file mode 100644
index 000000000..f5d472be2
--- /dev/null
+++ b/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/XML empty tag.xhtml
@@ -0,0 +1,2 @@
+<p>First line. <br/>
+Second line.</p> \ No newline at end of file