MathParser.org-mXparser icon indicating copy to clipboard operation
MathParser.org-mXparser copied to clipboard

Problems in some markdown engines with interpretation of |/\\|

Open mariuszgromada opened this issue 1 year ago • 0 comments

Calling mXparser.getHelpAsMarkdownTable(...) results, for some cases, with the output containing |/\|, which looks in raw string as |/\\|. Some markdown engines does not recognize properly escaping sequence, finally escaping pipe "|" instead of escaping "\" backslash. In case you see this happening in your case, you can make a simple workaround, just add space between backslashand the pipe |/\\ |. Also you can do it with the code adding replace(...) as follows:

mXparser.getHelpAsMarkdownTable(...).replace("\\\\|", "\\\\ |") - JAVA mXparser.getHelpAsMarkdownTable(...).Replace("\\\\|", "\\\\ |") - C#

Soon I will add this option also to the library.

mariuszgromada avatar Jan 29 '23 12:01 mariuszgromada