Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-05 | cs fix | Asmir Mustafic | |
2020-06-24 | Add special case for end tag </br>. Fixes #185 | Rowan Tommins | |
Normally, an end tag for a void element would simply be discarded, but the spec includes a special rule as follows: > An end tag whose tag name is "br" > Parse error. Drop the attributes from the token, and act as > described in the next entry; i.e. act as if this was a "br" > start tag token with no attributes, rather than the end tag > token that it actually is. | |||
2020-02-06 | Merge pull request #178 from Masterminds/eof-entity | Asmir Mustafic | |
Prevent infinite loop on un-terminated entity declaration at EOF | |||
2020-02-06 | prevent infinite loop on unterminated entity declaration at end of stream | Asmir Mustafic | |
2019-10-14 | Fix Trying to access array offset on value of type null | Remi Collet | |
2019-06-14 | Set default encoding in the doc object. | Ilias Dimopoulos | |
2018-11-25 | Fix coding style | Titouan Galopin | |
2018-11-03 | Improve performance by relying on a native string instead of InputStream | Titouan Galopin | |
2018-10-08 | audio is not a block tag | Asmir Mustafic | |
see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio | |||
2018-08-21 | Fix tests for PHP 5.3 | Albert Peschar | |
2017-12-04 | #136: Respect self-closing tags only on foreign elements | Albert Peschar | |
2017-12-04 | Add testcases for #136 | Albert Peschar | |
2017-08-28 | Fixes https://github.com/Masterminds/html5-php/issues/124 | Asmir Mustafic | |
Reference: https://www.w3.org/TR/html52/syntax.html#character-reference-state If the character reference was consumed as part of an attribute (return state is either attribute value (double-quoted) state, attribute value (single-quoted) state or attribute value (unquoted) state), and the last character matched is not a U+003B SEMICOLON character (;), and the next input character is either a U+003D EQUALS SIGN character (=) or an alphanumeric ASCII character, then, for historical reasons, switch to the character reference end state. If the last character matched is not a U+003B SEMICOLON character (;), this is a parse error. | |||
2017-07-26 | Fix https://github.com/Masterminds/html5-php/issues/131 | Asmir Mustafic | |
2016-09-22 | removed loop and renamed test | Asmir Mustafic | |
2016-09-22 | renamed label | Asmir Mustafic | |
2016-09-22 | don't close optgroup when followed by an option | Valentin Kunz | |
Make sure options are children of optgroup, not the parent select. Otherwise we end up with a bunch of empty optgroups. | |||
2016-03-18 | Fixes #98: a DOM is allowed within noscript tags | Matt Farina | |
When JavaScript is disabled noscript tags become transparent to to the DOM. For more details see: https://w3c.github.io/html/semantics-scripting.html#the-noscript-element While this notes limitations in the values in the head there are different sets elsewhere such as in: https://w3c.github.io/html/syntax.html#the-in-head-noscript-insertion-mode Since this is not a validating parser this handling it to make it transparent. | |||
2015-07-15 | Update TokenizerTest.php | alexpott | |
Remove duplicate array key | |||
2015-02-23 | Adding some tests to the UTF8 utilities. | Matt Farina | |
2015-02-06 | Added tests for "target_document" and "disable_html_ns" options | Asmir Mustafic | |
2015-02-02 | Allow whitespaces in RCDATA end tags | Zhaofeng Li | |
Fixes #75 Signed-off-by: Zhaofeng Li <[email protected]> | |||
2014-12-17 | Merge pull request #64 from goetas/i63 | Asmir Mustafic | |
Case insensitive tags | |||
2014-12-14 | Case insensitive comparison only for html5 tags | Asmir Mustafic | |
2014-12-14 | Auto closing tags if they allows only inline nodes as child nodes | Asmir Mustafic | |
Fixes #68 | |||
2014-12-01 | Added support for dashes in element tag names (closes #65) | Asmir Mustafic | |
2014-11-24 | Case insensitive tags | Asmir Mustafic | |
fixes #63 | |||
2014-09-23 | Fragments with rules | Asmir Mustafic | |
2014-08-01 | Closes #56 | Asmir Mustafic | |
2014-07-08 | Removed xmlns workaround, using a different method, that supports XMLNS | Asmir Mustafic | |
declarations | |||
2014-06-30 | Fiexed a issue when xmlNamespaces = true | Asmir Mustafic | |
2014-06-26 | Added compatibility with Facebook HHVM 3.2 | Asmir Mustafic | |
2014-06-17 | PSR-2 formatting | Asmir Mustafic | |
2014-06-17 | Custom namespaces (XML style) | Asmir Mustafic | |
2014-06-11 | PSR-2 code style | Asmir Mustafic | |
2014-06-11 | PSR-0 vendor namespace | Asmir Mustafic | |
2014-06-11 | Merge pull request #37 from goetas/new-error-handling | Asmir Mustafic | |
Refactored HTML5 class, removed static methods | |||
2014-06-04 | Refactored HTML5 class (no more static methods) and explicit error | Asmir Mustafic | |
handling | |||
2014-05-25 | Parse RCDATA the right way | KITAITI Makoto | |
2014-05-15 | Merge pull request #34 from goetas/prs-tests | Matt Farina | |
Fixes the testing errors and makes the tests PSR compatible | |||
2014-05-14 | Update TokenizerTest.php | Asmir Mustafic | |
2014-05-14 | Update DOMTreeBuilderTest.php | Asmir Mustafic | |
2014-05-14 | Moved some class in separate files | Asmir Mustafic | |
2014-05-12 | PRS-4 tests | Asmir Mustafic | |
2014-04-16 | Don't throw an exception for invalid tag names | Mišo Belica | |
2014-02-21 | Ignore attributes with illegal chars in name (fixes #23) | Mišo Belica | |
This is neccesary because method "DOMElement::setAttribute" throws exception for wrong names so DOM elements can't contain these attributes. | |||
2014-02-11 | Merge pull request #25 from goetas/patch-2 | Matt Farina | |
Removed quote conversion to entity inside content | |||
2014-02-11 | Merge pull request #28 from miso-belica/fix-infinite-cycle | Matt Butcher | |
Fixed infinite loop for char "&" in unquoted attribute | |||
2014-02-11 | Merge branch 'master' of github.com:Masterminds/html5-php | Matt Butcher | |
2014-02-11 | Fix for #25: Handle missing tag close in attribute list. | Matt Butcher | |