Skip to content

Releases: thephpleague/html-to-markdown

4.8.1

24 Dec 17:23
250d1bf
Compare
Choose a tag to compare

Added

  • Added support for PHP 7.3 🎉

Fixed

  • Fixed paragraphs following tables (#165, #166)
  • Fixed incorrect list item escaping (#168, #169)

4.8.0

18 Sep 12:23
Compare
Choose a tag to compare

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

19 May 23:51
Compare
Choose a tag to compare

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

07 Jan 19:46
Compare
Choose a tag to compare

Fixed

  • Fixed issue with emphasized spaces (#146)

4.6.1

01 Jan 18:19
Compare
Choose a tag to compare

Fixed

  • Fixed conversion of <pre> tags (#145)

4.6.0

24 Oct 02:51
Compare
Choose a tag to compare

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

09 Oct 17:29
Compare
Choose a tag to compare

Added

  • Added configuration option for list item style (#135, #136)

4.4.1

16 Mar 00:46
Compare
Choose a tag to compare

Fixed

  • Fixed autolinking of invalid URLs (#129)

4.4.0

28 Dec 22:55
Compare
Choose a tag to compare

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

27 Oct 20:06
Compare
Choose a tag to compare

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)