serendipity_editor.js.tpl: escapeBrackets(str)