Closed mvelosop closed 6 years ago
Whoa that's one heck of a strange bug...
It looks like on
before or after a URLis causing this problem which seems very odd. Changing on to anything else seem to work.
Ok after some experimenting this is actually due to a bug in the HtmlSanitation code that's been recently added.
If you go to Tools->AllowScriptInMarkdown and turn that on the failure goes away.
Looks like a parsing error with an overeager RegEx expression that's reading too far forward.
This is the issue in Westwind.Utilities:
https://github.com/RickStrahl/Westwind.Utilities/commit/3e7ed797edd7e91855a56641ae35ed6d24285c20
Fixed the issue over there and will update the package reference in MM for the next update.
Thanks for the report!
Great @RickStrahl,
I see, looking for JS events, right?
Thanks!
Yup. Verified with the updated library:
as well as a couple of additional scenarios.
I've pushed up an update to the preview release.
FWIW - you can use two spaces for line breaks at the end of a line.
Thanks!
I know about the two spaces, this is for a customer that prefers not to use them! 🙂
This is not rendered as it should in version 1.12.17 (nor 16 either)