]> gitweb.factorcode.org Git - factor.git/commit
xml.writer: do not include meaningless extra whitespace in doctype
authorBenjamin Pollack <benjamin@bitquabit.com>
Fri, 11 Mar 2016 21:18:29 +0000 (16:18 -0500)
committerBenjamin Pollack <benjamin@bitquabit.com>
Fri, 11 Mar 2016 23:20:55 +0000 (18:20 -0500)
commit2ad91ce941c8421959b1b39b7e2d24e046ba4c88
tree306c99f9027db7ae8c5800b47f25fad8a45628e9
parent4ef42357e13ebe6debb2a3072f096c496ba27a38
xml.writer: do not include meaningless extra whitespace in doctype

This is theoretically merely annoying, but since we're using the XML vocab in
tons of places as an overenthusiastic HTML generator, and HTML5 technically
mandates that the first token needs to be `<!DOCTYPE html>` full-stop, this had
to get fixed.
basis/xml/writer/writer.factor