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

Fix smarty pants extra not triggering when it should (#611) #613

Merged

Conversation

Crozzers
Copy link
Contributor

@Crozzers Crozzers commented Dec 7, 2024

This PR fixes #611.

The smarty-pants extra implemented the test() method, which controls whether the extra is invoked, saving some time. The test implemented did not cover all smarty-pants use cases, so the extra would not trigger as often as it should.

I've expanded the test case so that it will trigger when it should

@nicholasserra
Copy link
Collaborator

Thank you!

@nicholasserra nicholasserra merged commit ed820a6 into trentm:master Dec 7, 2024
15 checks passed
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.

Smarty-pants not consistently transforming triple dashes to mdashes (2.5.1 with Python 3.13)
2 participants