Skip to content

Conversation

samwilson
Copy link
Owner

This duplicates most of the code from the SmartPunctExtension in order to make it work for LaTeX-style quotes and ellipses and to remove its handling of dashes.

Ideally most of these classes would be able to extend their SmartPunctExtension counterparts, but those are final and so this is the hacky workaround.

Refs #12

samwilson added 2 commits May 10, 2025 11:32
This duplicates most of the code from the SmartPunctExtension
in order to make it work for LaTeX-style quotes and ellipses
and to remove its handling of dashes.

Ideally most of these classes would be able to extend their
SmartPunctExtension counterparts, but those are `final` and so
this is the hacky workaround.

Refs #12
@samwilson
Copy link
Owner Author

This isn't the most elegant but will do for now.

@samwilson samwilson merged commit 4f63a72 into main Aug 27, 2025
5 checks passed
@samwilson samwilson deleted the smartpunct branch August 27, 2025 23:06
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.

1 participant