summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-12-19 15:19:42 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-12-19 15:19:42 (GMT)
commit20853fc59e43fafe67986d219d2c5307dccd2e24 (patch)
treeb3a22646805be6d85579f9df767d51946fec718e
parent742927e23a728fffe53e7bfd1d220f7df4c6f552 (diff)
downloadDoxygen-20853fc59e43fafe67986d219d2c5307dccd2e24.zip
Doxygen-20853fc59e43fafe67986d219d2c5307dccd2e24.tar.gz
Doxygen-20853fc59e43fafe67986d219d2c5307dccd2e24.tar.bz2
Tests 31 for XHTML output
When running test 31 for XHTML output, we get the error: ``` not ok 1 - [031_image.dox]: test the \image command ------------------------------------- .../testing/test_output_031/html/index.xhtml:107: parser error : EntityRef: expecting ';' "image/svg+xml" data="https://img.shields.io/badge/docs-Doxygen-blue.svg?foo&bar ``` For the SVG output the `src` was not properly converted (see also the other formats a few lines lower).
-rw-r--r--src/htmldocvisitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp
index 3dec509..e1466da 100644
--- a/src/htmldocvisitor.cpp
+++ b/src/htmldocvisitor.cpp
@@ -1725,7 +1725,7 @@ void HtmlDocVisitor::visitPre(DocImage *img)
}
if (typeSVG)
{
- m_t << "<object type=\"image/svg+xml\" data=\"" << src
+ m_t << "<object type=\"image/svg+xml\" data=\"" << convertToHtml(src)
<< "\"" << sizeAttribs << attrs;
if (inlineImage)
{