Upstream thephpleague/html-to-markdown state of the touched files before f345fb4bc5

This commit is contained in:
upstream committed 2026-10-03 02:27:25 +02:00
1 parent 1bb05d0606
commit a82cc3b9b6
2 files changed
+77 -4

No files matched your search

-4
View File
@@ -134,10 +134,6 @@ class HtmlConverterTest extends TestCase
public function testImage(): void
{
$this->assertHtmlGivesMarkdown('<img src="/path/img.jpg" alt="alt text" title="Title" />', '![alt text](/path/img.jpg "Title")');
$this->assertHtmlGivesMarkdown("<img src=\"a.png\" />\n<h3>A new header</h3>", "![](a.png)\n\n### A new header");
$this->assertHtmlGivesMarkdown('<img src="a.png" /><p>Paragraph</p>', "![](a.png)\n\nParagraph");
$this->assertHtmlGivesMarkdown('<a href="b.html"><img src="a.png" /></a><h3>A new header</h3>', "[![](a.png)](b.html)\n\n### A new header");
$this->assertHtmlGivesMarkdown('<blockquote><img src="a.png" /><p>Paragraph</p></blockquote>', "> ![](a.png)\n> \n> Paragraph");
}
public function testAnchor(): void