roman-gardens / gre

Gardens of the Roman Empire
http://roman-gardens.github.io/
8 stars 20 forks source link

html table not appearing #281

Closed kgjenkins closed 2 years ago

kgjenkins commented 2 years ago

This garden has a data table that is not appearing on the site produced via hugo: https://github.com/roman-gardens/gre/blob/master/content/province/arabia_petraea/petra/arabia-petragarden.md?plain=1#L123-L682

The table appears correctly in Atom markdown preview, so it doesn't seem to be an HTML error.

Perhaps hugo is stripping certain html elements?

kgjenkins commented 2 years ago

By default, Hugo ignores arbitrary HTML in .md files.

Fixed in #284 by adding this to the config.toml file:

[markup.goldmark.renderer]
      unsafe = true