diff options
author | albert-github <albert.tests@gmail.com> | 2019-03-04 17:16:05 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-03-04 17:16:05 (GMT) |
commit | 1c38b7dda7d8e1f3162c036954ec80144a52c3d0 (patch) | |
tree | 1047bd53cc64b06596ba2584da91e1cabf00dc5d /src/dot.cpp | |
parent | 169a67186780c191749b958de0f71a17fa090248 (diff) | |
download | Doxygen-1c38b7dda7d8e1f3162c036954ec80144a52c3d0.zip Doxygen-1c38b7dda7d8e1f3162c036954ec80144a52c3d0.tar.gz Doxygen-1c38b7dda7d8e1f3162c036954ec80144a52c3d0.tar.bz2 |
issue #6869 SVG image generated by \dot or \dotfile does not render properly in HTML
The path to the svgpan.js should be relative to the svg file. For files generated with `dot` or `\dotfile` this is the root of the HTML tree, so relpath is here an empty reference (the svg file still needs the relpath as this file is referenced from a html file that is possibly in a sub directory).
Diffstat (limited to 'src/dot.cpp')
-rw-r--r-- | src/dot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dot.cpp b/src/dot.cpp index 40a7210..30d75ac 100644 --- a/src/dot.cpp +++ b/src/dot.cpp @@ -4331,7 +4331,7 @@ void writeDotImageMapFromFile(FTextStream &t, QCString svgName=outDir+"/"+baseName+".svg"; writeSVGFigureLink(t,relPath,baseName,svgName); DotFilePatcher patcher(svgName); - patcher.addSVGConversion(relPath,TRUE,context,TRUE,graphId); + patcher.addSVGConversion("",TRUE,context,TRUE,graphId); patcher.run(); } else // bitmap graphics |