mirror of https://github.com/swig/swig
parent
45f4b4d936
commit
5644680788
|
@ -7,6 +7,10 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
|
|||
Version 4.1.0 (in progress)
|
||||
===========================
|
||||
|
||||
2022-10-06: wsfulton
|
||||
[Java] #Fix quoting for doxygen \image command to quote the output
|
||||
file name generated into the html src attribute.
|
||||
|
||||
2022-10-05: benjamin-sch
|
||||
[Python] added an interpreter counter to fix deinitialization
|
||||
issues if multiple subinterpreters are used
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
* \endif
|
||||
*
|
||||
* \image html testImage.bmp "Hello, world!" width=10cm
|
||||
* \image html "test image.jpg" "Test jpeg" width=10cm
|
||||
*
|
||||
* <ul>
|
||||
*
|
||||
|
|
|
@ -81,7 +81,7 @@ public class doxygen_translate_all_tags_runme {
|
|||
" If not: SOMECONDITION {\n" +
|
||||
" This is printed if not \n" +
|
||||
" }\n" +
|
||||
" <img src=testImage.bmp alt=\"Hello, world!\" />\n" +
|
||||
" <img src=\"testImage.bmp\" alt=\"Hello, world!\"/>\n" +
|
||||
" Some text \n" +
|
||||
" describing invariant. \n");
|
||||
|
||||
|
|
|
@ -69,7 +69,8 @@ public class doxygen_translate_runme {
|
|||
" This is printed if not}\n" +
|
||||
" \n" +
|
||||
" \n" +
|
||||
" <img src=testImage.bmp alt=\"Hello, world!\"/>\n" +
|
||||
" <img src=\"testImage.bmp\" alt=\"Hello, world!\"/>\n" +
|
||||
" <img src=\"test image.jpg\" alt=\"Test jpeg\"/>\n" +
|
||||
" \n" +
|
||||
" <ul> \n" +
|
||||
" \n" +
|
||||
|
|
|
@ -58,6 +58,7 @@ If not: SOMECONDITION {
|
|||
}
|
||||
|
||||
Image: testImage.bmp("Hello, world!")
|
||||
Image: "test image.jpg"("Test jpeg")
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -463,7 +463,11 @@ void JavaDocConverter::handleTagImage(DoxygenEntity &tag, std::string &translate
|
|||
if (it != tag.entityList.end())
|
||||
title = it->data;
|
||||
|
||||
translatedComment += "<img src=" + file;
|
||||
translatedComment += "<img src=";
|
||||
if (file.size() >= 2 && file[0] == '"' and file[file.size() - 1] == '"')
|
||||
translatedComment += file;
|
||||
else
|
||||
translatedComment += "\"" + file + "\"";
|
||||
if (title.size())
|
||||
translatedComment += " alt=" + title;
|
||||
|
||||
|
|
Loading…
Reference in New Issue