code: function (text) {
          text = text.replace(new RegExp('</([^d])','g'), '</disabled $1');
          text = text.replace(new RegExp('</(\S{2,})','g'), '</disabled $1');
          text = text.replace(new RegExp('<([^d/]\W*?)','g'), '<disabled $1');
          text = text.replace(new RegExp('<([^/ ]{2,}\W*?)','g'), '<disabled $1');
          return text;
      }
docs: Try to escape unsafe HTML code. DO NOT trust that this handles all cases Please do not allow insecure DOM parsing unless you can trust your input source.