Closed PopovGena closed 12 years ago
While not entirely obvious, it will work if you do:
!!! XML
!!! 5
Cleaning up the doctypes (with reasonable errors, and more documentation, etc.) is something that needs working on. I'm going to leave this issue open for the time being.
One possibility to solve this issue is: In nodes.py: Doctype.doctypes: move the item "5": """<!DOCTYPE html>""" from the dict 'xml' to the dict 'html'.
This is finally fixed on the master branch. Sorry for taking so long! I was holding out for a massive redesign of the doctypes system that I have not had time to implement.
Doctype !!! 5 - doesn't work/
KeyError: u'5'