Skip to content

Releases: Masterminds/html5-php

2.1.1

23 Mar 22:58

Choose a tag to compare

  • #78: Fixes bug where unmatched entity like string drops everything after &.

2.1.0

09 Feb 16:33

Choose a tag to compare

  • #74: Added disable_html_ns and target_doc dom parsing options
  • Unified option names
  • #73: Fixed alphabet, ß now can be detected
  • #75 and #76: Allow whitespace in RCDATA tags
  • #77: Fixed parsing blunder for json embeds
  • #72: Add options to HTML methods

Serializer output bugfix

06 Feb 20:31

Choose a tag to compare

#77 Don't output anything on parse (Serializer bug)

Improved handling of HTML5 "unusual" usages

17 Dec 20:39

Choose a tag to compare

  • closed #50 (empty document handling)
  • closed #63 (tags with strange capitalization)
  • closed #65 (dashes and underscores as allowed characters in tag names)
  • closed #68 (non inline elements inside inline containers)

Small fixes

23 Sep 09:52

Choose a tag to compare

  • Closed #59
  • Closed #56
  • Sami as new documentation generator

2.0 Major release

28 Jul 06:22

Choose a tag to compare

  • #53: Improved boolean attributes handling
  • #52: Facebook HHVM compatibility
  • #48: Adopted PSR-2 as coding standard
  • #47: Moved everything to Masterminds namespace
  • #45: Added custom namespaces
  • #44: Added support to XML-style namespaces
  • #37: Refactored HTML5 class removing static methods

1.0.5

11 Jun 00:45

Choose a tag to compare

  • #38: Set the dev-master branch as the 1.0.x branch for composer (goetas)
  • #34: Tests use PSR-4 for autoloading. (goetas)
  • #40, #41: Fix entity handling in RCDATA sections. (KitaitiMakoto)
  • #32: Fixed issue where wharacter references were being incorrectly encoded in style tags.

1.0.4

30 Apr 14:07

Choose a tag to compare

  • #30/#31 Don't throw an exception for invalid tag names.

1.0.3

28 Feb 19:11

Choose a tag to compare

This is a bugfix release to handle:

  • #23 and #29: Ignore attributes with illegal chars in name for the PHP DOM.

1.0.2

12 Feb 15:36

Choose a tag to compare

  • #23: Handle missing tag close in attribute list.
  • #25: Fixed text escaping in the serializer (HTML% 8.3).
  • #27: Fixed tests on Windows: changed "\n" -> PHP_EOL.
  • #28: Fixed infinite loop for char "&" in unquoted attribute in parser.
  • #26: Updated tag name case handling to deal with uppercase usage.
  • #24: Newlines and tabs are allowed inside quoted attributes (HTML5 8.2.4).
  • Fixed Travis CI testing.