1 # Author: Brett Parker <iDunno@sommitrealweird.co.uk>
7 __docformat__ = 'reStructuredText'
14 from docutils import frontend, nodes, utils, writers
15 from docutils.writers import html4css1
17 class Writer(html4css1.Writer):
19 config_section = 'xhtml11 writer'
20 config_section_dependencies = ('writers', 'html4css1 writer')
23 html4css1.Writer.__init__(self)
24 self.translator_class = HTMLTranslator
26 class HTMLTranslator(html4css1.HTMLTranslator):
28 def is_compactable(self, node):
31 def should_be_compact_paragraph(self, node):