willkg / douglas

DEAD PROJECT: File based static rendering blog system
Other
2 stars 3 forks source link

output valid HTML5 #37

Open willkg opened 10 years ago

willkg commented 10 years ago

The rst_parser uses docutils which by default outputs HTML that isn't HTML5 valid. For example, it's outputting tt, <a name... and other things which aren't in HTML5.

I think we can use this docutuils html5 writer and that'll fix the problem:

https://pypi.python.org/pypi/docutils_html5_writer/0.1.0

We should also make sure the included html theme is HTML5.