PackageTrack
Sign in Get early access

league/html-to-markdown

An HTML-to-markdown conversion helper for PHP

5.1.1 35M downloads/mo #577 most downloaded on Packagist thephpleague/html-to-markdown

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Release timing varies

gaps range from 2 months to 1.4 years

Some releases are documented

notes for 13 of 39 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

39 releases · first in 2013

0 releases in the last 12 months

see the full history below

Release timeline

39 releases · Aug 2013 to Jul 2023
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 39
  1. 5.1.1 12 Jul 2023
    Release notes

    Fixed

    • Fixed <pre> tags with attributes not being parsed (#215, #238)
    • Fixed missing type checks and coercions
    Open source →
    Release notes

    Fixed

    • Fixed <pre> tags with attributes not being parsed (#215, #238)
    • Fixed missing type checks and coercions
    Open source →
  2. 5.1.0 02 Mar 2022
    Release notes

    Changed

    • Changed horizontal rule style (#218, #219)

    Fixed

    • Fixed Element::getValue() not handling possible nulls
    Open source →
    Release notes

    Changed

    • Changed horizontal rule style (#218, #219)

    Fixed

    • Fixed Element::getValue() not handling possible nulls
    Open source →
  3. 5.0.2 06 Nov 2021
    Release notes

    Fixed

    • Fixed missplaced comment nodes appearing at the start of the HTML input (#212)
    Open source →
    Release notes

    Fixed

    • Fixed missplaced comment nodes appearing at the start of the HTML input (#212)
    Open source →
  4. 5.0.1 17 Sep 2021
    Release notes

    Fixed

    • Fixed lists not using the correct amount of indentation (#211)
    Open source →
    Release notes

    Fixed

    • Fixed lists not using the correct amount of indentation (#211)
    Open source →
  5. 5.0.0 29 Mar 2021
    Release notes

    Added

    • Added support for tables (#203)
      • This feature is disable by default - see README for how to enable it
    • Added new strip_placeholder_links option to strip <a> tags without href attributes (#196)
    • Added new methods to ElementInterface:
      • hasParent()
      • getNextSibling()
      • getPreviousSibling()
      • getListItemLevel()
    • Added several parameter and return types across all classes
    • Added new PreConverterInterface to allow converters to perform any necessary pre-parsing

    Changed

    • Supported PHP versions increased to PHP 7.2 - 8.0
    • HtmlConverter::convert() may now throw a \RuntimeException when unexpected DOMDocument-related errors occur

    Fixed

    • Fixed complex nested lists containing heading and paragraphs (#198)
    • Fixed consecutive emphasis producing incorrect markdown (#202)
    Open source →
    Release notes

    Added

    • Added support for tables (#203)
      • This feature is disable by default - see README for how to enable it
    • Added new strip_placeholder_links option to strip <a> tags without href attributes (#196)
    • Added new methods to ElementInterface:
      • hasParent()
      • getNextSibling()
      • getPreviousSibling()
      • getListItemLevel()
    • Added several parameter and return types across all classes
    • Added new PreConverterInterface to allow converters to perform any necessary pre-parsing

    Changed

    • Supported PHP versions increased to PHP 7.2 - 8.0
    • HtmlConverter::convert() may now throw a \RuntimeException when unexpected DOMDocument-related errors occur

    Fixed

    • Fixed complex nested lists containing heading and paragraphs (#198)
    • Fixed consecutive emphasis producing incorrect markdown (#202)
    Open source →
  6. 4.10.0 01 Jul 2020
    Release notes

    Added

    • Added the ability to disable autolinking with a configuration option (#187, #188)
    Open source →
    Release notes

    Added

    • Added the ability to disable autolinking with a configuration option (#187, #188)
    Open source →
  7. 4.9.1 28 Dec 2019
    Release notes

    Fixed

    • Fixed issue with HTML entity escaping in text (#184)
    Open source →
    Release notes

    Fixed

    • Fixed issue with HTML entity escaping in text (#184)
    Open source →
  8. 4.9.0 02 Nov 2019
    Release notes

    Added

    • Added new option to preserve comments (#177, #179)
    Open source →
    Release notes

    Added

    • Added new option to preserve comments (#177, #179)
    Open source →
  9. 4.8.3 31 Oct 2019
    Release notes

    Fixed

    • Fixed whitespace preservation around <code> tags (#174, #178)
    Open source →
    Release notes

    Fixed

    • Fixed whitespace preservation around <code> tags (#174, #178)
    Open source →
  10. 4.8.2 02 Aug 2019
    Release notes

    Fixed

    • Fixed headers not being placed onto a new line in some cases (#172)
    • Fixed handling of links containing spaces (#175)

    Removed

    • Removed support for HHVM
    Open source →
    Release notes

    Fixed

    • Fixed headers not being placed onto a new line in some cases (#172)
    • Fixed handling of links containing spaces (#175)

    Removed

    • Removed support for HHVM
    Open source →
  11. 4.8.1 24 Dec 2018
    Release notes

    Added

    • Added support for PHP 7.3

    Fixed

    • Fixed paragraphs following tables (#165, #166)
    • Fixed incorrect list item escaping (#168, #169)
    Open source →
  12. 4.8.0 18 Sep 2018
    Release notes

    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)
    Open source →
  13. 4.7.0 19 May 2018
    Release notes

    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)
    Open source →
  14. 4.6.2 07 Jan 2018

    Nothing published for this version

  15. 4.6.1 01 Jan 2018

    Nothing published for this version

  16. 4.6.0 24 Oct 2017

    Nothing published for this version

  17. 4.5.0 09 Oct 2017

    Nothing published for this version

  18. 4.4.1 16 Mar 2017

    Nothing published for this version

  19. 4.4.0 28 Dec 2016

    Nothing published for this version

  20. 4.3.1 27 Oct 2016

    Nothing published for this version

  21. 4.3.0 26 Oct 2016

    Nothing published for this version

  22. 4.2.2 27 Sep 2016

    Nothing published for this version

  23. 4.2.1 18 May 2016

    Nothing published for this version

  24. 4.2.0 01 Feb 2016

    Nothing published for this version

  25. 4.1.1 20 Nov 2015

    Nothing published for this version

  26. 4.1.0 29 Oct 2015

    Nothing published for this version

  27. 4.0.1 01 Sep 2015

    Nothing published for this version

  28. 4.0.0 25 Jul 2015

    Nothing published for this version

  29. 3.1.1 23 Jul 2015

    Nothing published for this version

  30. 3.1.0 20 Jul 2015

    Nothing published for this version

  31. 3.0.0 14 Jul 2015

    Nothing published for this version

  32. 2.2.2 29 May 2015

    Nothing published for this version

  33. 2.2.1 22 Feb 2015

    Nothing published for this version

  34. 2.2.0 22 Jan 2015

    Nothing published for this version

  35. 2.1.2 04 Jan 2015

    Nothing published for this version

  36. 2.1.1 02 Nov 2013

    Nothing published for this version

  37. 2.1.0 19 Oct 2013

    Nothing published for this version

  38. 2.0.1 12 Oct 2013

    Nothing published for this version

  39. 2.0.0 14 Aug 2013

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive