diff options
author | albert-github <albert.tests@gmail.com> | 2018-08-05 09:55:25 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-08-05 09:55:25 (GMT) |
commit | 43e606f185c7fb334062521eff4905d047f78503 (patch) | |
tree | bf5e0d7fa0599a38575f9f84d694dafa02116f5b /src/xmldocvisitor.cpp | |
parent | 9ba8bd85999fa7423eb5b44c680e72ad2e9c31bf (diff) | |
download | Doxygen-43e606f185c7fb334062521eff4905d047f78503.zip Doxygen-43e606f185c7fb334062521eff4905d047f78503.tar.gz Doxygen-43e606f185c7fb334062521eff4905d047f78503.tar.bz2 |
Include height item in XML output
When width and height are given with the `\image` command only the `width=` is placed in the output. contrary to e.g. HTML. This has been corrected.
Based on: https://stackoverflow.com/questions/38778067/doxygen-image-tag-size-specification-syntax
Diffstat (limited to 'src/xmldocvisitor.cpp')
-rw-r--r-- | src/xmldocvisitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmldocvisitor.cpp b/src/xmldocvisitor.cpp index 93765b1..3a656c9 100644 --- a/src/xmldocvisitor.cpp +++ b/src/xmldocvisitor.cpp @@ -65,7 +65,7 @@ static void visitPreStart(FTextStream &t, const char *cmd, const bool doCaption, { t << " width=\"" << convertToXML(width) << "\""; } - else if (!height.isEmpty()) + if (!height.isEmpty()) { t << " height=\"" << convertToXML(height) << "\""; } |