ASCII Math display in search results is not working when the search term is in the equation.

Search encloses the found term in <strong> tags. That apparently ticks off MimeTex, which reports "mimeTex failed to render your expression". It is not the wysiwyg_ascii plugin fault per se, but rather search engine is messing up the format.

Comments

iva2k’s picture

Without any experiments, a "solution" could be one of these:
- remove <strong> & </strong> tags from math code before processing - requires plugin code change upstream
- modifying search display code to be aware of the math markup - highly unplausible

With these I see no way to solve the issue in this module. Anyone has any better idea?

Wait, maybe there is a way to pre-process content for math tokens and remove search's strong tags? Will look into that when have more time.

iva2k’s picture

Assigned: Unassigned » iva2k