diff --git a/public_html/js/Util/Misc.js b/public_html/js/Util/Misc.js index 11ea0429..7ff017e9 100644 --- a/public_html/js/Util/Misc.js +++ b/public_html/js/Util/Misc.js @@ -210,6 +210,8 @@ App.Util.Misc = function(_, jQuery, marked, promise) { text = text.replace(/\[search\]((?:[^\[]|\[(?!\/?search\]))+)\[\/search\]/ig, '$1'); //spoilers text = text.replace(/\[spoiler\]((?:[^\[]|\[(?!\/?spoiler\]))+)\[\/spoiler\]/ig, '$1'); + //[small] + text = text.replace(/\[small\]((?:[^\[]|\[(?!\/?small\]))+)\[\/small\]/ig, '$1'); //strike-through text = text.replace(/(^|[^\\])(~~|~)([^~]+)\2/g, '$1$3'); text = text.replace(/\\~/g, '~');