When following a link from a wiki search, the search term gets highlighted via some inserted HTML (<span class="search_hit"></span>). When that is in the code that the JS picks up to build the SVG, it destroys the SVGs.
I couldn't find a way to remove that span from the plugin itself as that span seems to get added after the output from the plugin's syntax.php.
When following a link from a wiki search, the search term gets highlighted via some inserted HTML (
<span class="search_hit"></span>
). When that is in the code that the JS picks up to build the SVG, it destroys the SVGs.I couldn't find a way to remove that span from the plugin itself as that span seems to get added after the output from the plugin's syntax.php.