Skip to content

Conversation

@Joerg-Schoemer
Copy link
Contributor

ISF is replaced by tooltip and prevents arithmatex to work proper.

ISF is replaced by tooltip and prevents arithmatex to work proper.

Signed-off-by: Jörg Schömer <[email protected]>
which was used to prevent a tooltip from popping up and the equation from being messed up
@ebouchut ebouchut self-assigned this Jan 20, 2025
@ebouchut ebouchut added the typo Typo Fixes label Jan 20, 2025
@ebouchut
Copy link
Collaborator

ebouchut commented Jan 20, 2025

Thanks, @Joerg-Schoemer for spotting and fixing this one.
A recent (plugin?) change made abbreviations (acronyms tooltips) work inside (MathJax) equations which has the side effect of messing up equations containing acronyms.
We now need to use a convoluted workaround as you figured out to prevent the tooltip from being inserted. See #880.

I added a commit to change the fix so that instead of using a subscript notation, I split up the ISF acronyms into 2 italicized segments that Mathjax recombines into one.

Before: using subscript notation

After: using 2 italicized segments

Copy link
Collaborator

@ebouchut ebouchut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
👍 Thank you @Joerg-Schoemer for your contribution!

@ebouchut ebouchut merged commit 7043d06 into LoopKit:main Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

typo Typo Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants