Open wanli-x opened 2 days ago
I saw this piece of code
public @NotNull String escapeSpecialChars(@NotNull String text) {
if (!myHtmlConverterOptions.skipCharEscape) {
text = text.replace("\\", "\\\\");
text = text.replace("*", "\\*");
text = text.replace("~", "\\~");
text = text.replace("^", "\\^");
text = text.replace("&", "\\&");
text = text.replace("<", "\\<").replace(">", "\\>");
text = text.replace("[", "\\[").replace("]", "\\]");
text = text.replace("|", "\\|").replace("`", "\\`");
text = text.replace("\u00A0", myHtmlConverterOptions.nbspText);
}
return text;
}
The last two lines of output are the same, ### should become \###