OSDN Git Service

Correct problem with src= not being closed properly, which would result in a malforme...
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / gui / BrowserWindow.java
index 5b94698..c4fb69e 100644 (file)
@@ -1095,7 +1095,7 @@ public class BrowserWindow extends QWidget {
                buffer.append("contentEditable=\"false\" alt=\"");\r
                buffer.append(encrypted);\r
                // NFC FIXME: should this be a file URL like in handleLocalAttachment and importAttachment?\r
                buffer.append("contentEditable=\"false\" alt=\"");\r
                buffer.append(encrypted);\r
                // NFC FIXME: should this be a file URL like in handleLocalAttachment and importAttachment?\r
-               buffer.append("\" src=\"").append(FileUtils.toForwardSlashedPath(Global.getFileManager().getImageDirPath("encrypt.png")));\r
+               buffer.append("\" src=\"").append(FileUtils.toForwardSlashedPath(Global.getFileManager().getImageDirPath("encrypt.png") +"\""));\r
                Global.cryptCounter++;\r
                buffer.append(" id=\"crypt"+Global.cryptCounter.toString() +"\"");\r
                buffer.append(" onMouseOver=\"style.cursor=\\'hand\\'\"");\r
                Global.cryptCounter++;\r
                buffer.append(" id=\"crypt"+Global.cryptCounter.toString() +"\"");\r
                buffer.append(" onMouseOver=\"style.cursor=\\'hand\\'\"");\r