We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.1.1
use League\HTMLToMarkdown\HtmlConverter; $converter = new HtmlConverter(); $md = $converter->convert('<pre> line 1 </pre>') var_export($md);
prints
'``` line 1 ```'
there is an empty line above line 1. But the HTML spec says
line 1
In the HTML syntax, a leading newline character immediately following the pre element start tag is stripped.
pre
so the expected markdown is
``` line 1 ```
See also https://stackoverflow.com/q/23969607
See description.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version(s) affected
5.1.1
Description
prints
there is an empty line above
line 1
. But the HTML spec saysso the expected markdown is
See also https://stackoverflow.com/q/23969607
How to reproduce
See description.
The text was updated successfully, but these errors were encountered: