diff --git a/js/twister_formatpost.js b/js/twister_formatpost.js index c524a3f..53026c8 100644 --- a/js/twister_formatpost.js +++ b/js/twister_formatpost.js @@ -342,10 +342,10 @@ function escapeHtmlEntities(str) { function reverseHtmlEntities(str) { return str - .replace(/&/g, '&') .replace(/</g, '<') .replace(/>/g, '>') .replace(/"/g, '"') - .replace(/'/g, "'"); + .replace(/'/g, "'") + .replace(/&/g, '&'); }