View | Details | Raw Unified | Return to bug 36382
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-4 / +1 lines)
Lines 19-27 function formatstr(str, col) { Link Here
19
var HtmlCharsToEscape = {
19
var HtmlCharsToEscape = {
20
    '&': '&',
20
    '&': '&',
21
    '<': '&lt;',
21
    '<': '&lt;',
22
    '>': '&gt;',
22
    '>': '&gt;'
23
    "'": '&#39;',
24
    '"': '&quot;'
25
};
23
};
26
String.prototype.escapeHtml = function() {
24
String.prototype.escapeHtml = function() {
27
    return this.replace(/[&<>]/g, function(c) {
25
    return this.replace(/[&<>]/g, function(c) {
28
- 

Return to bug 36382