Skip to content

Commit c0324c9

Browse files
committed
issue doxygen#11436 External SVG images not loaded with image-command
Made an exception for images starting with `http:://` and `https://"
1 parent d2de4b5 commit c0324c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/htmldocvisitor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1695,7 +1695,7 @@ void HtmlDocVisitor::operator()(const DocImage &img)
16951695
{
16961696
src = correctURL(url,img.relPath());
16971697
}
1698-
if (typeSVG && !inlineImage)
1698+
if (typeSVG && !inlineImage && !src.startsWith("http://") && !src.startsWith("https://"))
16991699
{
17001700
m_t << "<object type=\"image/svg+xml\" data=\"" << convertToHtml(src)
17011701
<< "\"" << sizeAttribs << attrs;

0 commit comments

Comments
 (0)