### Version(s) affected 5.1.1 ### Description ```php use League\HTMLToMarkdown\HtmlConverter; $converter = new HtmlConverter(); $md = $converter->convert('<pre> line 1 </pre>') var_export($md); ``` prints ```php '``` line 1 ```' ``` there is an empty line above `line 1`. But the [HTML spec](https://html.spec.whatwg.org/multipage/grouping-content.html#the-pre-element) says > In [the HTML syntax](https://html.spec.whatwg.org/multipage/syntax.html#syntax), a leading newline character immediately following the `pre` element start tag is stripped. so the expected markdown is ````text ``` line 1 ``` ```` See also https://stackoverflow.com/q/23969607 ### How to reproduce See description.