-
Notifications
You must be signed in to change notification settings - Fork 868
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
Refactor abbr escaping #1449
Refactor abbr escaping #1449
Conversation
A alternate fix to Python-Markdown#1444. This does not omit the use of carrots in abbreviations. It still omits backslashs, however. I played around with backslashes and it just doesn't make sense to support them as they have special meaning in the Markdown, not because of their use in regular expressions.
@@ -15,7 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
* Include `scripts/*.py` in the generated source tarballs (#1430). | |||
* Ensure lines after heading in loose list are properly detabbed (#1443). | |||
* Give smarty tree processor higher priority than toc (#1440). | |||
* Explicitly omit carrot (`^`) and backslash (`\`) from abbreviations (#1444). | |||
* Permit carrots (`^`) and square brackets (`]`) but explicitly exclude |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be "caret", not "carrot" 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥕
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@waylan I think you missed this comment before merge ⬆️ .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I didn't see it until after the merge. We'll fix it next time we edit the changelog.
A alternate fix to #1444. This does not omit the use of carrots in abbreviations. It still omits backslashs, however. I played around with backslashes and it just doesn't make sense to support them as they have special meaning in the Markdown, not because of their use in regular expressions.