Releases: thephpleague/html-to-markdown
Releases · thephpleague/html-to-markdown
4.8.1
Added
- Added support for PHP 7.3 🎉
Fixed
- Fixed paragraphs following tables (#165, #166)
- Fixed incorrect list item escaping (#168, #169)
4.8.0
Added
- Added support for email auto-linking
- Added a new interface (
HtmlConverterInterface
) for the main HtmlConverter
class
- Added additional test cases (#14)
Changed
- The
italic_style
option now defaults to '*'
so that in-word emphasis is handled properly (#75)
Fixed
- Fixed several issues of
<code>
and <pre>
tags not converting to blocks or inlines properly (#26, #70, #102, #140, #161, #162)
- Fixed in-word emphasis using underscores as delimiter (#75)
- Fixed character escaping inside of
<div>
elements
- Fixed header edge cases
Deprecated
- The
bold_style
and italic_style
options have been deprecated (#75)
4.7.0
Added
- Added
setOptions()
function for chainable calling (#149)
- Added new
list_item_style_alternate
option for converting every-other list with a different character (#155)
Fixed
- Fixed insufficient newlines after code blocks (#144, #148)
- Fixed trailing spaces not being preserved in link anchors (#157)
- Fixed list-like lines not being escaped inside of lists items (#159)
4.6.2
Fixed
- Fixed issue with emphasized spaces (#146)
4.6.1
Fixed
- Fixed conversion of
<pre>
tags (#145)
4.6.0
Added
- Added support for ordered lists starting at numbers other than 1
Fixed
- Fixed overly-eager escaping of list-like text (#141)
4.5.0
Added
- Added configuration option for list item style (#135, #136)
4.4.1
Fixed
- Fixed autolinking of invalid URLs (#129)
4.4.0
Added
- Added
hard_break
configuration option (#112, #115)
- The
HtmlConverter
can now be instantiated with an Environment
(#118)
Fixed
- Fixed handling of paragraphs in list item elements (#47, #110)
- Fixed phantom spaces when newlines follow
br
elements (#116, #117)
- Fixed link converter not sanitizing inner spaces properly (#119, #120)
4.3.1
Changed
- Revised the sanitization implementation (#109)
Fixed
- Fixed tag-like content not being escaped (#67, #109)
- Fixed thematic break-like content not being escaped (#65, #109)
- Fixed codefence-like content not being escaped (#64, #109)