Skip to content

Ignore HTML in knowledgebase markdown instead of escaping

Yuto Takano requested to merge yutotakano/remove-html-from-markdown into master

Mostly for HTML comments in the community knowledgebase markdown, which were rendered escaped instead of as raw HTML.

We could either solve this as parsing the markdown as unsafe raw HTML, or ignore the HTML tags. The former introduces a new dependency (rehype-raw) which is rather heavyweight, so we choose to ignore it instead.

Merge request reports