Skip to content

Conversation

yves-chevallier
Copy link
Contributor

I've identified some duplicated code in abbr.py. In my specific use case, I'd prefer to use an a element instead of abbr for another extension. It would be cleaner and more flexible to simply override the create_element method, adhering more to the DRY principle.

Not entirely sure if this change aligns with the project's goals, but I thought it was worth proposing.

@waylan
Copy link
Member

waylan commented Sep 27, 2024

I'm indifferent to this being merged. However, if it is to be merged, then it needs a changelog entry. The failing checkspelling test can be ignored as it is not related to this change.

@waylan waylan added the requires-changes Awaiting updates after a review. label Sep 27, 2024
@waylan waylan merged commit eeb509d into Python-Markdown:master Sep 30, 2024
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires-changes Awaiting updates after a review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants