You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In regards to #218 where the outcome was that showdown didn't escape any HTML-Special-Chars I now have the Problem that sometimes HTML-Special Chars are converted and sometimes they aren't.
Here is some Code to reproduce this:
constshowdown=require("showdown")constconverter=newshowdown.Converter({simpleLineBreaks: true});converter.makeHtml("&")// Output is: '<p>&</p>'converter.makeHtml("*&*");// Output is: '<p><em>&</em></p>'
As far as I know see, HTML-Special-Chars are replaced when in plain Text but not, when they are formatted somehow.
Is there any way to turn this fully of or on for all text? I've searched through the config-options but didn't find any setting for this.
The text was updated successfully, but these errors were encountered:
In regards to #218 where the outcome was that showdown didn't escape any HTML-Special-Chars I now have the Problem that sometimes HTML-Special Chars are converted and sometimes they aren't.
Here is some Code to reproduce this:
As far as I know see, HTML-Special-Chars are replaced when in plain Text but not, when they are formatted somehow.
Is there any way to turn this fully of or on for all text? I've searched through the config-options but didn't find any setting for this.
The text was updated successfully, but these errors were encountered: