Welcome | Get started | Dive into Lino | Contribute | Topics | Reference | More

lino.utils.html2xhtml

Defines the html2xhtml() function which converts HTML to valid XHTML.

It uses Jason Stitt's pytidylib module. This module requires the HTML Tidy library to be installed on the system:

$ sudo apt-get install tidy

Some examples in About formatting.

Functions

html2xhtml(html, **options)