parent
45f4b4d936
commit
5644680788
6 changed files with 14 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue