-
I am working on a bugfix where I have a MarkdownField with Wysiwyg editor and it won't render email links.
I have come to the point where I have 0 clue why is it not working.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Solution found: Setting SanitizeHtml either true or false in the Migration did absolutely nothing. But when I render the markdown content in .cshtml with |
Beta Was this translation helpful? Give feedback.
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.