how to disable
SafeCSS requirement for Goldmark rendering especially for supporting inline CSS embedding? I tried so many ways including and not limited to:
[markup.goldmark.renderer] unsafe = true # Allow HTML in md files
Reason: to support AMP CSS rendering for a theme module. The current safety mechanism completely destroyed a lot of critical selectors such as:
+ ~ > <
There is no other way aside downgrading the theme designs to simplest possible selectors. Also, those selectors are not prohibited (https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/).
Used hugo version:
Hugo Static Site Generator v0.73.0-428907CC/extended linux/amd64 BuildDate: 2020-06-23T16:40:09Z.
Thanks in adv.