Item14193: inline="on" does not create <svg> tag

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: GraphvizPlugin
Branches: master
Reported By: AndreasSchaller
Waiting For:
Last Change By: MichaelDaum
When creating an svg from a graph, it is correctly rendered on the wiki page.
But when I add the inline="on" flag, the graph will not be embedded in an <svg> tag but instead also in an <img> tag.
Thus the text in the graph is neither selectable nor searchable nor clickable (in case it's an URL). Also the width, hight and style tags are no longer parsed correctly.

Example:

%GRAPHVIZ{
attachment="....dot"
width="100%"
inline="on"
}%

OR

<graphviz type="svg" width="100%" inline="on"> ... </graphviz>

will both result in

<img src='/wiki/pub/.../graphviz_....svg' class='graphviz' $style$width$height/>

-- AndreasSchaller - 16 Sep 2016

Fixed in latest release

-- MichaelDaum - 30 Nov 2016
 
Topic revision: r3 - 30 Nov 2016, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy