Closed samveen closed 1 month ago
I did not read the documentation correctly. As listed on the project page:
By default, HTML To Markdown preserves HTML tags without Markdown equivalents, like \<span> and \<div>.
That includes <header>
and <body>
tags.
Version(s) affected
5.1.0
Description
Package versioning : php-league-html-to-markdown-5.1.0-1 installed via debian bookworm/main on arm64
I'm trying to convert the following example HTML (
test.html
):I'm running the included
html-to-markdown
script and getting the following output:How to reproduce
Example set to run via piped input as below: