Upstream thephpleague/html-to-markdown state of the touched files before f345fb4bc5
This commit is contained in:
1 parent
1bb05d0606
commit
a82cc3b9b6
2 files changed
+77
-4
No files matched your search
@@ -134,10 +134,6 @@ class HtmlConverterTest extends TestCase
|
||||
public function testImage(): void
|
||||
{
|
||||
$this->assertHtmlGivesMarkdown('<img src="/path/img.jpg" alt="alt text" title="Title" />', '');
|
||||
$this->assertHtmlGivesMarkdown("<img src=\"a.png\" />\n<h3>A new header</h3>", "\n\n### A new header");
|
||||
$this->assertHtmlGivesMarkdown('<img src="a.png" /><p>Paragraph</p>', "\n\nParagraph");
|
||||
$this->assertHtmlGivesMarkdown('<a href="b.html"><img src="a.png" /></a><h3>A new header</h3>', "[](b.html)\n\n### A new header");
|
||||
$this->assertHtmlGivesMarkdown('<blockquote><img src="a.png" /><p>Paragraph</p></blockquote>', "> \n> \n> Paragraph");
|
||||
}
|
||||
|
||||
public function testAnchor(): void
|
||||
|
||||
Reference in new issue
Block a user