MathML rendering breaks when searching
Posted: Tue Jan 07, 2025 1:09 pm
Hi,
we are using Oxygen to generate our DITA based online help. In some topics, there are formulas written in MathML. They are rendered well ... until you use the WebHelp search function with the search result highlighting and a term that is used in the formula. In this case, the source code of the MathML formula is changed probably, and the rendering breaks apart.
The problem appears in all browsers and with several versions of Oxygen (at least 26 and 27).
Example 1:
Formula without search: Formula with search for "drfU" (i.e. the URL is extended by "?hl=net%2Cdrfu"):
Example 2:
Formula without search: Formula with search for "task": Formula with search for "drfu":
we are using Oxygen to generate our DITA based online help. In some topics, there are formulas written in MathML. They are rendered well ... until you use the WebHelp search function with the search result highlighting and a term that is used in the formula. In this case, the source code of the MathML formula is changed probably, and the rendering breaks apart.
The problem appears in all browsers and with several versions of Oxygen (at least 26 and 27).
Example 1:
Formula without search: Formula with search for "drfU" (i.e. the URL is extended by "?hl=net%2Cdrfu"):
Example 2:
Formula without search: Formula with search for "task": Formula with search for "drfu":