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 a text document use of an escaped backslash before an r character should not remove the r character. This is necessary for e.g., LaTeX, where commands like \right) are common.
Expected Behavior
In a text document use of an escaped backslash before an
r
character should not remove ther
character. This is necessary for e.g., LaTeX, where commands like\right
) are common.See remarkablemark/html-react-parser#1634
Actual Behavior
All
\r
are removed from the HTML string, even if the raw string is formatted as\\r
.Caused by #902
Steps to Reproduce
Reproducible Demo
https://stackblitz.com/edit/html-react-parser-typescript-w9j4u9vu?file=src%2Findex.tsx
Environment
Keywords
LaTeX, carriage return, escape, unescape, special character
The text was updated successfully, but these errors were encountered: