You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you're browsing posts by category, if any words in a post's summary have glossary definitions, all the definitions are included within the summary.
I don't see a workaround for this since Grav doesn't allow for a way to set a custom summary. I tried to sanitize it within the template but that's not working, probably because the injection is happening after the template is generated, not before.
The text was updated successfully, but these errors were encountered:
I fixed it by disabling the insert abbreviations function and replicating its functionality in a JavaScript file that is only loaded inside the item template. I needed to expose the definitions into inline <script> tags which probably isn't ideal for many reasons but hopefully this is only temporary.
When you're browsing posts by category, if any words in a post's summary have glossary definitions, all the definitions are included within the summary.
I don't see a workaround for this since Grav doesn't allow for a way to set a custom summary. I tried to sanitize it within the template but that's not working, probably because the injection is happening after the template is generated, not before.
The text was updated successfully, but these errors were encountered: