kylec32 / dokuwiki_plantumlparser

A plugin to have a user's browser display a SVG PlantUML diagram generated at http://plantuml.com/
MIT License
8 stars 12 forks source link

Fixed LaTeX/Ditaa Parse, Add ODT Export Support and Fix UML Search Result SVG Rendering #43

Open eduardomozart opened 2 years ago

eduardomozart commented 2 years ago

PlantUML apparently doesn't support SVG output for LaTeX and Ditaa, so now the code always use PNG images. Added support for ODT export. This commit also fixes UML search result in the content (Issue #30). This is a well known issue, as related in https://bugs.dokuwiki.org/2321.html - When searching for a string that is inside a uml tag with SVG rendering, the DokuWiki built-in syntax highlighter breaks SVG content when applying highlight into it. This commit removes the search highlight inside SVG to avoid breaking SVG rendering.