diff options
Diffstat (limited to 'vendor/michelf/php-markdown/test')
3 files changed, 16 insertions, 2 deletions
diff --git a/vendor/michelf/php-markdown/test/helpers/MarkdownTestHelper.php b/vendor/michelf/php-markdown/test/helpers/MarkdownTestHelper.php index 545dabd12..ffca0c969 100644 --- a/vendor/michelf/php-markdown/test/helpers/MarkdownTestHelper.php +++ b/vendor/michelf/php-markdown/test/helpers/MarkdownTestHelper.php @@ -20,7 +20,7 @@ class MarkdownTestHelper RecursiveRegexIterator::GET_MATCH ); - $dataValues = []; + $dataValues = array(); /** @var SplFileInfo $inputFile */ foreach ($regexIterator as $inputFiles) { @@ -31,7 +31,7 @@ class MarkdownTestHelper $expectedHtmlPath = substr($inputMarkdownPath, 0, -4) . 'html'; $xhtml = false; } - $dataValues[] = [$inputMarkdownPath, $expectedHtmlPath, $xhtml]; + $dataValues[] = array($inputMarkdownPath, $expectedHtmlPath, $xhtml); } } 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 index 1451d625b..efb6763cd 100644 --- 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 @@ -14,6 +14,13 @@ <hr class="foo" id="bar" > +<p>Details and Summary:</p> + +<details> + <summary>Some details</summary> + <p>More info about the details.</p> +</details> + <p>Regression:</p> <pre> 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 index 359b622fd..7b67dde68 100644 --- 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 @@ -14,6 +14,13 @@ Hr's: <hr class="foo" id="bar" > +Details and Summary: + +<details> + <summary>Some details</summary> + <p>More info about the details.</p> +</details> + Regression: <pre> |