Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mariuszgromada opened this issue Jan 29, 2023 · 1 comment
Closed
Milestone

Comments

@mariuszgromada
Copy link
Owner

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
Copy link
Owner Author

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant