martignoni / hugo-video

A Hugo theme component to embed videos using HTML video element
GNU General Public License v3.0
107 stars 27 forks source link

Change markdownify to safeHTML #17

Closed plett closed 4 years ago

plett commented 4 years ago

This makes the fallback text for browsers that don't support video elements render in Hugo 0.60.0 and later without having to enable the unsafe rendering option.

Hugo 0.60.0 moved from Blackfriday to Goldmark for Markdown rendering, and Goldmark is stricter about escaping inline html in Markdown content. https://github.com/gohugoio/hugo/releases/tag/v0.60.0