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