- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 19 Mar 2012 06:11:36 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec/tools In directory hutz:/tmp/cvs-serv16183/tools Modified Files: spec-splitter.py Log Message: Apply revert request to W3C copy. (whatwg r7027) [updated by splitter] Index: spec-splitter.py =================================================================== RCS file: /sources/public/html5/spec/tools/spec-splitter.py,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- spec-splitter.py 19 Mar 2012 06:09:51 -0000 1.13 +++ spec-splitter.py 19 Mar 2012 06:11:34 -0000 1.14 @@ -407,10 +407,10 @@ # Output all the pages for name, doc, title in pages: f = open('%s/%s' % (file_args[1], get_page_filename(name)), 'w') + f.write("<!doctype html>\n") if use_html5lib_serialiser: tokens = html5lib.treewalkers.getTreeWalker('lxml')(doc) serializer = html5lib.serializer.HTMLSerializer(quote_attr_values=True, inject_meta_charset=False) - f.write("<!doctype html>\n") for text in serializer.serialize(tokens, encoding='us-ascii'): f.write(text) else:
Received on Monday, 19 March 2012 06:11:44 UTC