refaktoring
[mdictionary] / src / plugins / xdxf / TranslationXdxf.cpp
index 7bb8d8d..7a622d4 100644 (file)
@@ -54,11 +54,12 @@ QString TranslationXdxf::toHtml() const {
     QString result("");
     if(!xdxfPlugin)
         return result;
-    result=result + "<dict>" + "<info";
+
+    result=result + "<dict> <info path=\"/usr/share/mdictionary/xdxf.png\" ";
     if(isBookmark())
-        result+= " bookmark=\"true\" ";
+        result+= " bookmark=\"true\" > \n";
     else
-        result+= " bookmark=\"false\" ";
+        result+= " bookmark=\"false\" > \n";
     result+= _dictionaryInfo + "</info>" + xdxfPlugin->search(_key) + "</dict>";
     return result.replace("&","&amp;");
 }