(refs #415) Fix bug

This commit is contained in:
Tomofumi Tanaka
2014-06-25 00:19:28 +09:00
parent a9bfe0dfab
commit 84a4b8fd92
3 changed files with 6 additions and 2 deletions

View File

@@ -102,4 +102,8 @@ function diffUsingJS(oldTextId, newTextId, outputId) {
contextSize: 4,
viewType: 1
}));
}
function jqSelectorEscape(val) {
return val.replace(/[!"#$%&'()*+,.\/:;<=>?@\[\\\]^`{|}~]/g, '\\$&');
}