Skip to content
Discussion options

You must be logged in to vote

Solution found:

Setting SanitizeHtml either true or false in the Migration did absolutely nothing.

But when I render the markdown content in .cshtml with Orchard.MarkdownToHtmlAsync(markdown)
It seems that when this conversion happens is the time when you need to set sanitizing to FALSE
Orchard.MarkdownToHtmlAsync(markdown, sanitize: false) was the solution.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Skrypt
Comment options

Answer selected by Psichorex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants