lino.utils.mytidylib

This is used only when libtidy is not available.

(This module's source code is available here.)

Functions

attrs2xml(attrs)

html2xhtml(html, **options)

Convert a HTML text to XHTML.

is_inline_tag(tag)

Classes

MyHTMLParser(*args, **kw)

TagEntry(name[, ignored])

lino.utils.mytidylib.html2xhtml(html, **options)

Convert a HTML text to XHTML. Currently this is very basic and will be extended as needed.

http://meiert.com/de/publications/translations/whatwg.org/html-vs-xhtml/ http://de.selfhtml.org/html/xhtml/unterschiede.htm