summaryrefslogtreecommitdiff
path: root/src/HTML5
AgeCommit message (Collapse)Author
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-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
2014-06-17PSR-2 formattingAsmir Mustafic
2014-06-17Custom namespaces (XML style)Asmir Mustafic
2014-06-11PSR-2 code styleAsmir Mustafic
2014-06-11PSR-0 vendor namespaceAsmir Mustafic
2014-06-09#32 Fixed bug where character references were being encoded in style tags.Matt Farina
2014-05-25Parse RCDATA the right wayKITAITI Makoto
2014-04-16Don't throw an exception for invalid tag namesMišo Belica
2014-02-21Ignore 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-19Removed trailing whitespaceMišo Belica
2014-02-11Updated the text escaping and added some separation between escaping and ↵Matt Farina
converting named character references.
2014-02-11Merge pull request #25 from goetas/patch-2Matt Farina
Removed quote conversion to entity inside content
2014-02-11Merge pull request #28 from miso-belica/fix-infinite-cycleMatt Butcher
Fixed infinite loop for char "&" in unquoted attribute
2014-02-11Merge branch 'master' of github.com:Masterminds/html5-phpMatt Butcher
2014-02-11Fix for #25: Handle missing tag close in attribute list.Matt Butcher
2014-02-11Fixed infinite loop for char "&" in unquoted attributeMišo Belica
2014-02-11Removed trailing whitespaceMišo Belica
2014-02-11Tests and code style + nbsp handlingAsmir Mustafic
2014-02-10tests and html5 standardsAsmir Mustafic
2014-02-07#26: Updated the case handling for tags to allow for uppercase tags and ↵Matt Farina
normalizing tag names to lowercase (per 8.2.4.9) except for SVG foreign tags that are case sensitive.
2014-02-04escaping attributes in a different wayAsmir Mustafic
2014-02-04Merge remote-tracking branch 'origin/patch-1' into patch-2Asmir Mustafic
2014-02-03Removed quote conversion to entity inside contentAsmir Mustafic
Encoding quotes inside element contents may be not necessary
2014-02-03Update Tokenizer.phpAsmir Mustafic
Newlines and tabs are allowed inside quoted attributes
2013-11-06Cleaning up the sarcasm tag parsing.Matt Farina
2013-11-06Improving the documentation coverage.Matt Farina
2013-11-06Improved test coverage. This caused a bug in processor instructions to ↵Matt Farina
appear. Fix them so they actually work now.
2013-11-05Added tests for the output of processor instructions that lead to fixing ↵Matt Farina
that method.
2013-11-04#20 Some of the parser rules, for special cases, were not returning the ↵Matt Farina
element to use as the current element. This caused the current parser element to get messed up.
2013-10-28Changed serialization for CDATA and comments.Matt Butcher
Change to comments does not seem to produce different output under any cases. See Issue #19.
2013-10-02Added a couple more docs for phpdoc.Matt Farina
2013-09-26Switched to late static bindings to make altering and building with these ↵Matt Farina
classes a little easier.
2013-09-26The serializer was a wrapper for serializing the same way html5 at the top ↵Matt Farina
level was a wrapper for parsing. Moved the serializing interface to be in the same form as the parser for consistency.
2013-09-26Moved the output rules from being a configurable option. This is part of a ↵Matt Farina
change to commonize how we override classes to be more consistent.
2013-09-15Fix for #13: Malformed HTML is getting mangled instead of fixed.Matt Butcher
Thanks to @sascha-tasche for reporting it. And to @mattfarina for digging up what we should really do to fix it.
2013-09-15Fixed the logic for search for a close-instruction (#16).Matt Butcher
Again, thanks to @MrElectronic.
2013-09-15For #16, removed extra wr(' ') from PI serializer.Matt Butcher
This caused a trailing whitespace after the PI contents and before the PI closing tag.