"use strict"; var HTMLEntitiesDecoder = (function () { function HTMLEntitiesDecoder() { } HTMLEntitiesDecoder.prototype.getDisplayname = function () { return "Decode HTML entities"; }; HTMLEntitiesDecoder.prototype.getId = function () { return "decodehtmlentities"; }; HTMLEntitiesDecoder.prototype.convert = function (input) { return input .replace(/\"\;/g, "\"") .replace(/\>\;/g, ">") .replace(/\<\;/g, "<") .replace(/\&\;/g, "&"); }; return HTMLEntitiesDecoder; }()); exports.HTMLEntitiesDecoder = HTMLEntitiesDecoder;