ncatlab / nlab

Source code for the nLab
https://ncatlab.org
149 stars 16 forks source link

The nlab's HTML is wonky #29

Open ncfavier opened 1 year ago

ncfavier commented 1 year ago

...by which I mean invalid. While most browsers are able to handle it fine, it would be nice to at least try to be compliant.

One issue that stood out in particular is the presence of an entire <html> document inside a <div>. I'm guessing this is because we generate a full HTML page from each article's contents, and then embed it inside a "template" page with headers and footers.

sattlerc commented 8 months ago

Yes, it is really wonky. The page renderer is implenented in Python and not really maintained. We would like to move to a more standard Markdown to HTML pipeline, but don't have a good understanding of the current page syntax.