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

Refactor abbr escaping #1449

Merged
merged 4 commits into from
Mar 8, 2024
Merged

Refactor abbr escaping #1449

merged 4 commits into from
Mar 8, 2024

Conversation

waylan
Copy link
Member

@waylan waylan commented Mar 7, 2024

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.

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.
@waylan waylan marked this pull request as ready for review March 7, 2024 20:08
@@ -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
Copy link
Contributor

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" 🤔

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥕

Copy link
Collaborator

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 ⬆️ .

Copy link
Member Author

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.

@waylan waylan merged commit 9edba85 into Python-Markdown:master Mar 8, 2024
16 of 17 checks passed
@waylan waylan deleted the abbr branch March 8, 2024 14:44
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

Successfully merging this pull request may close these issues.

None yet

3 participants