Add missing sanitization for HTML exporting of bookmarks.

This commit is contained in:
Pale Moon
2017-11-23 08:58:49 +01:00
committed by Roy Tam
parent c31091e72a
commit 69df8c876d
@@ -1151,7 +1151,7 @@ BookmarkExporter.prototype = {
if (aItem.charset)
this._writeAttribute("LAST_CHARSET", escapeHtmlEntities(aItem.charset));
if (aItem.tags)
this._writeAttribute("TAGS", aItem.tags);
this._writeAttribute("TAGS", escapeHtmlEntities(aItem.tags));
this._writeLine(">" + escapeHtmlEntities(aItem.title) + "</A>");
this._writeDescription(aItem, aIndent);
},