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
feat(Util): escape more markdown characters #8701
Conversation
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com>
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com>
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com>
Codecov Report
@@ Coverage Diff @@
## main #8701 +/- ##
==========================================
+ Coverage 86.83% 86.86% +0.03%
==========================================
Files 87 87
Lines 8810 8815 +5
Branches 1117 1103 -14
==========================================
+ Hits 7650 7657 +7
+ Misses 1118 1116 -2
Partials 42 42
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Please describe the changes this PR makes and why it should be merged:
Allows for escaping more characters in
escapeMarkdown
and adds the corresponding individual functions:escapeMarkdown
does not escape backslashes #8689)I enabled the
escapeEscapes
option by default since you can add those to any message, but since lists, headings, and masked links are only supported in specific contexts I disabled them by default. TheescapeMarkdown
function now returns different information by default becauseescapeEscapes
is enabled by default. If this is a problem, I can disable it by default until the next major release.Status and versioning classification: