4.4.0

@colinodell colinodell released this Dec 28, 2016

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)

Downloads

4.3.1

@colinodell colinodell released this Oct 27, 2016 · 16 commits to master since this release

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)

Downloads

4.3.0

@colinodell colinodell released this Oct 26, 2016 · 22 commits to master since this release

Added

  • Added full support for PHP 7.0 and 7.1

Changed

  • Changed <pre> and <pre><code> conversions to use backticks instead of indendation (#102)

Fixed

  • Fixed issue where specified code language was not preserved (#70, #102)
  • Fixed issue where <code> tags nested in <pre> was not converted properly (#70, #102)
  • Fixed header-like content not being escaped (#76, #105)
  • Fixed blockquote-like content not being escaped (#77, #103)
  • Fixed ordered list-like content not being escaped (#73, #106)
  • Fixed unordered list-like content not being escaped (#71, #107)

Downloads

4.2.2

@colinodell colinodell released this Sep 27, 2016 · 61 commits to master since this release

Fixed

  • Fixed sanitization bug which sometimes removes desired content (#63, #101)

Downloads

4.2.1

@colinodell colinodell released this May 18, 2016 · 67 commits to master since this release

Fixed

  • Fixed path to autoload.php when used as a library (#98)
  • Fixed edge case for tags containing only whitespace (#99)

Removed

  • Removed double HTML entity decoding, as this is not desireable (#60)

Downloads

4.2.0

@colinodell colinodell released this Feb 1, 2016 · 77 commits to master since this release

Added

  • Added the ability to invoke HtmlConverter objects as functions (#85)

Fixed

  • Fixed improper handling of nested list items (#19 and #84)
  • Fixed preceeding or trailing spaces within emphasis tags (#83)

Downloads

4.1.1

@colinodell colinodell released this Nov 20, 2015 · 89 commits to master since this release

Fixed

  • Fixed conversion of empty paragraphs (#78)
  • Fixed preg_replace so it wouldn't break UTF-8 characters (#79)

Downloads

4.1.0

@colinodell colinodell released this Oct 29, 2015 · 99 commits to master since this release

This release adds a new CLI converter!

Added

  • Added bin/html-to-markdown script

Changed

  • Changed default italic character to _ (#58)

Downloads

4.0.1

@colinodell colinodell released this Sep 1, 2015 · 108 commits to master since this release

Fixed

  • Added escaping to avoid * and _ in a text being rendered as emphasis (#48)

Removed

  • Removed the demo (#51)
  • .styleci.yml and CONTRIBUTING.md are no longer included in distributions (#50)

Downloads

4.0.0

@colinodell colinodell released this Jul 25, 2015 · 118 commits to master since this release

This release changes the visibility of several methods/properties. #42 and #43 brought to light that some visiblities were
not ideally set, so this releases fixes that. Moving forwards this should reduce the chance of introducing BC-breaking changes.

Added

  • Added new HtmlConverter::getEnvironment() method to expose the Environment (#42, #43)

Changed

  • Changed Environment::addConverter() from protected to public, enabling custom converters to be added (#42, #43)
  • Changed HtmlConverter::createDOMDocument() from protected to private
  • Changed Element::nextCached from protected to private
  • Made the Environment class final

Downloads