thephpleague / html-to-markdown

Convert HTML to Markdown with PHP
MIT License
1.77k stars 205 forks source link

Removed `code` from the block elements list since it's inline #178

Closed straube closed 4 years ago

straube commented 4 years ago

This PR removes the code element from the array returned by isBlock function because <code> is an inline HTML element, not a block.

Fixes #174