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

Remove space in front of the glossary term when comma in comes after it. #9

Open
broveer opened this issue Nov 6, 2024 · 1 comment

Comments

@broveer
Copy link

broveer commented Nov 6, 2024

Adding a comma in front of a glossary term adds an unnecessary space ( ) in front of the term, which is undesirable.

So it looks like this,

Markdown input:

This is an {% glossary example %}, created for an issue on GitHub.

Output:

This is an example , created for an issue on GitHub.
                  👆 
            unwanted space

I tried to do this: {% glossary example%} but that doesn't seem to do anything. (removed space between 'example' and '%')

@erikw
Copy link
Owner

erikw commented Nov 7, 2024

Thanks for reporting. I don’t have an opportunity to look in to this myself at the moment. But a PR is welcome :-)

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

No branches or pull requests

2 participants