summaryrefslogtreecommitdiff
path: root/src/HTML5/Serializer
AgeCommit message (Collapse)Author
2016-08-19Alternative implementation of https://github.com/Masterminds/html5-php/pull/115Asmir Mustafic
2016-08-17When outputting a TEXT_RAW node, make sure each child is an instance of ↵Danny Smart
DOMCharacterData
2016-03-15Fixes #96: Parser breaking xml:href on svgs that use the "use" elementMatt Farina
2015-06-23Removing an old fixme comment about PIMatt Farina
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-02-03Don't output anything on parse.Ruben Vermeersch
Printing random comments breaks our json responses, please don't do that.
2014-09-30Handling empty documentsAsmir Mustafic
2014-07-22Merge remote-tracking branch 'goetas/bolean-attr'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-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-02-11Updated the text escaping and added some separation between escaping and ↵Matt Farina
converting named character references.
2014-02-11Tests and code style + nbsp handlingAsmir Mustafic
2014-02-10tests and html5 standardsAsmir Mustafic
2014-02-04escaping attributes in a different wayAsmir Mustafic
2014-02-03Removed quote conversion to entity inside contentAsmir Mustafic
Encoding quotes inside element contents may be not necessary
2013-11-05Added tests for the output of processor instructions that lead to fixing ↵Matt Farina
that method.
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-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.
2013-09-15Fix for #16: $ele changed to $node.Matt Butcher
Thanks to @MrElectronic for catching this one.
2013-07-01Added more mathml tests.Matt Farina
2013-06-26Fixed an issue when writing fragments and trying to check for a tag name on ↵Matt Farina
a fragment.
2013-06-26Added basic architectural documentation for the serializer/writerMatt Farina
2013-06-26Moved serializing of DOMDocumentFragment to walking since we will only ever ↵Matt Farina
encounter this class once. It's a container like DOMDocument.
2013-06-24#8: Added DOMDocumentFragment serializing.Matt Farina
2013-06-17Fixing some indentation.Matt Farina
2013-06-17#4 Added SVG tests and fixed issues with self closing non-html tags and ↵Matt Farina
attributes with a value of 0.
2013-06-17Changed the svg/mathml handling to more closely mirror the parser.Matt Farina
2013-06-12Added support for attributes without values and a attribute test.Matt Farina
2013-06-12#4 and #7, Cleaned up the MathMl support and added a test.Matt Farina
2013-06-11Part of #4 and #7: Added normalization of element and attribute names to SVG ↵Matt Farina
and MathML output.
2013-05-30Updated the option naming so the serializer and parser can share the same ↵Matt Farina
default option setup and have it still make sense.
2013-05-27Added OutputRules tests.Matt Farina
2013-05-27Removing an outdated comment.Matt Farina
2013-05-27Handling in the traverser the case where the dom passed in is a node list.Matt Farina
2013-05-27Added an interface for Output Rules to document how they work.Matt Farina