redmine_drawio icon indicating copy to clipboard operation
redmine_drawio copied to clipboard

Drawio enables math mode

Open ksingvo opened this issue 1 year ago • 3 comments

When Plugin redmine_drawio is enabled, I see unwanted math formated symbols:

The description contains this text:

Cable-precheck Test:
> 1. `c.generic_test_check.get_names() #Display all test names`

and leads to this: image

ksingvo avatar May 17 '23 08:05 ksingvo

Hi @ksingvo, I've done some check and yes, the plugin loads the MathJax library used by DrawIO. But the library is optional (and usually disabled), simply disable its loading in the plugin configuration panel (Adminitrations -> Plugins -> Redmine Drawio plugin -> Configuration.

mikitex70 avatar May 20 '23 13:05 mikitex70

I've found a way that can be used to disable the Mathjax rendering, enclose the text in a div with class no-mathjax. Your example become:

Cable-precheck Test:<div class="no-mathjax">
> 1. `c.generic_test_check.get_names() #Display all test names`
</div>

Not elegant but can be used to disable Mathjax as required.

mikitex70 avatar Jun 24 '23 09:06 mikitex70

Yes, wow. Never hat such a solution in mind.

That's a good working solution for me. --> Issue can be closed with solution given.

Thank you.

ksingvo avatar Jun 25 '23 08:06 ksingvo