|
|
@ -342,10 +342,10 @@ function escapeHtmlEntities(str) { |
|
|
|
|
|
|
|
|
|
|
|
function reverseHtmlEntities(str) { |
|
|
|
function reverseHtmlEntities(str) { |
|
|
|
return str |
|
|
|
return str |
|
|
|
.replace(/&/g, '&') |
|
|
|
|
|
|
|
.replace(/</g, '<') |
|
|
|
.replace(/</g, '<') |
|
|
|
.replace(/>/g, '>') |
|
|
|
.replace(/>/g, '>') |
|
|
|
.replace(/"/g, '"') |
|
|
|
.replace(/"/g, '"') |
|
|
|
.replace(/'/g, "'"); |
|
|
|
.replace(/'/g, "'") |
|
|
|
|
|
|
|
.replace(/&/g, '&'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|