text: (function() {
    function replaceContentHide (text) {
        while (text !== (text = text.replace(/\[hideto=([^\]]+)\]((?:(?!\[hideto=[^\]]+\]|\[\/hideto\])[\S\s])*)\[\/hideto\]/ig, function (match, p1, p2) {
          return "<div class='hideto " + p1 + "'>" + p2 + "</div>";
        })));
        return text;
      }
      Discourse.Dialect.addPreProcessor(replaceContentHide);
      Discourse.Markdown.whiteListTag('div', 'class', /^hideto .*$/i);
  })();
  