|
From: David G. <go...@us...> - 2002-07-31 23:49:33
|
Adam Chodorowski wrote: > Shouldn't the "html4css1" writer be renamed to "xhtml"? That's > namely the output it generates, and there is a *lot* of difference > (when it comes to browser support) between HTML 4 and XHTML. It's XHTML-compatible HTML 4 output (or is intended to be). It doesn't use any non-HTML tags. I don't see a need to change the module name, but it'd be easy to add an alias 'xhtml'->'html4css1' (in docutils/writers/__init__.py, ``_writer_aliases``). AFAICT the output is legal HTML 4. Do you know of a browser that doesn't support Docutils' (X)HTML output but *does* support HTML 4? From the XHTML spec (http://www.w3.org/TR/2001/WD-xhtml1-20011004): [XHTML] is intended to be used as a language for content that is both XML-conforming and, if some simple guidelines are followed, operates in HTML 4 conforming user agents. -- David Goodger <go...@us...> Open-source projects: - Python Docutils: http://docutils.sourceforge.net/ (includes reStructuredText: http://docutils.sf.net/rst.html) - The Go Tools Project: http://gotools.sourceforge.net/ |