1
0
mirror of synced 2024-11-26 14:56:07 +03:00

fixed markup escaping. fixes #290

This commit is contained in:
Igor Vaynberg 2012-08-02 21:50:02 -07:00
parent bef4af91f8
commit b422d4efef

View File

@ -94,7 +94,7 @@
function escapeMarkup(markup) {
if (markup && typeof(markup) === "string") {
return markup.replace("&", "&");
return markup.replace(/&/g, "&");
} else {
return markup;
}