1
0
mirror of synced 2024-11-29 16:16:02 +03:00

Merge pull request #1021 from frntz/master

Fix escapeMarkup regexp
This commit is contained in:
Igor Vaynberg 2013-03-13 08:03:21 -07:00
commit 759fb439fe

View File

@ -2721,7 +2721,7 @@ the specific language governing permissions and limitations under the Apache Lic
"/": '/'
};
return String(markup).replace(/[&<>"'/\\]/g, function (match) {
return String(markup).replace(/[&<>"'\/\\]/g, function (match) {
return replace_map[match[0]];
});
},