summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-08-31reduce number of times "current" is invokedAsmir Mustafic
2017-08-28Fixes https://github.com/Masterminds/html5-php/issues/124Asmir 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-08-25handle special "img" "image" handlingAsmir Mustafic
2017-07-26Fix https://github.com/Masterminds/html5-php/issues/131Asmir Mustafic
2016-09-22don't close optgroup when followed by an optionValentin Kunz
Make sure options are children of optgroup, not the parent select. Otherwise we end up with a bunch of empty optgroups.
2016-09-22Merge pull request #116 from Masterminds/case-sensitive-namesAsmir Mustafic
In XML mode, tags are case sensitive
2016-08-19Alternative implementation of https://github.com/Masterminds/html5-php/pull/115Asmir Mustafic
2016-08-17In XML mode, tags are case sensitiveAsmir Mustafic
Fixes #114
2016-08-17When outputting a TEXT_RAW node, make sure each child is an instance of ↵Danny Smart
DOMCharacterData
2016-05-09Correct address to reflect proper specfiication.William Hearn
https://github.com/Masterminds/html5-php/issues/109
2016-03-28Merge pull request #99 from Masterminds/fix/98Asmir Mustafic
Fixes #98: a DOM is allowed within noscript tags
2016-03-19Use mb_substitute_character instead of ini_setDer Mundschenk & Compagnie
2016-03-18Fixes #98: a DOM is allowed within noscript tagsMatt 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.
2016-03-15Fixes #96: Parser breaking xml:href on svgs that use the "use" elementMatt Farina
2016-01-31Issue #94 UTF8Utils::countChars() - extra bad perfomance with iconv_strlen()Alexander
2016-01-26Issue #94 UTF8Utils::countChars() - extra bad perfomance with iconv_strlen()Alexander
2015-06-23Removing an old fixme comment about PIMatt Farina
2015-06-22doctype method has no arguments. Fixing.Matt Farina
2015-06-19Correcting the @return type to a phpdoc value.Matt Farina
2015-06-18Updated comment to reflect return value.Matt Farina
Comment on Elements::element for return value didn't reflect all possible types and Scrutinizer noted this. Updated.
2015-06-07Allow multiple root nodesAsmir Mustafic
2015-05-09Addex exhaustive list of non boolean html attributesAsmir Mustafic
2015-05-09Improved boolean attribute handlingAsmir Mustafic
2015-03-08Closes #78: Fixes bug where unmatched entity like string drops everything ↵Matt Farina
after &.
2015-02-06Using constant as optionsAsmir Mustafic
2015-02-06Adding "disableHtmlNsInDom" and "targetDocument" options to allow moreJohn Slegers
flexible HTML DOM creation. New Options: * disableHtmlNsInDom = Allows the use of createElement instead of createElementNS for HTML elements. * targetDocument = allows an existing DOMDocument (or subclass thereof) to be passsed to the DOMTreeBuilder instead of creating a new one.
2015-02-03Don't output anything on parse.Ruben Vermeersch
Printing random comments breaks our json responses, please don't do that.
2015-02-02Allow whitespaces in RCDATA end tagsZhaofeng Li
Fixes #75 Signed-off-by: Zhaofeng Li <[email protected]>
2015-01-20Merge pull request #73 from Westie/masterAsmir Mustafic
Fixed a typo on HTML5 Scanner class
2015-01-15Fixed alphabet, &szlig; now can be detectedDavid Weston
The english alphabet does not allow the substitution of a lowercase z in place of another uppercase A.
2015-01-06Added $options to HTML loading methodsAsmir Mustafic
2014-12-17Merge pull request #64 from goetas/i63Asmir Mustafic
Case insensitive tags
2014-12-14Case insensitive comparison only for html5 tagsAsmir Mustafic
2014-12-14Auto closing tags if they allows only inline nodes as child nodesAsmir Mustafic
Fixes #68
2014-12-01Added support for dashes in element tag names (closes #65)Asmir Mustafic
2014-11-24Case insensitive tagsAsmir Mustafic
fixes #63
2014-09-30Handling empty documentsAsmir Mustafic
2014-09-23Fragments with rulesAsmir Mustafic
2014-08-01Closes #56Asmir Mustafic
2014-07-28Released 2.0.0Asmir Mustafic
2014-07-22Merge remote-tracking branch 'goetas/bolean-attr'Asmir Mustafic
2014-07-18Fixed a HHVM issue (can't reproduce on this project...)Asmir Mustafic
2014-07-09Optimized namespaceAttrs, removing one xpath queryAsmir Mustafic
2014-07-08Removed xmlns workaround, using a different method, that supports XMLNSAsmir Mustafic
declarations
2014-06-30Easier implementation. Instead looking for boolean attributes, we canAsmir Mustafic
serach for non-boolean attrs. Is a more compatible approach, with its own drawbacks.
2014-06-30Fiexed a issue when xmlNamespaces = trueAsmir Mustafic
2014-06-26Added compatibility with Facebook HHVM 3.2Asmir Mustafic
2014-06-17php5.3 array styleAsmir Mustafic
2014-06-17Add Rule mothodAsmir Mustafic
2014-06-17Serialization rules for boolean attributesAsmir Mustafic