Posted by iva2k on June 2, 2009 at 1:56am
Jump to:
| Project: | Wysiwyg ASCII Math |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | iva2k |
| Status: | active |
Issue Summary
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
#1
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.
#2