diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-04-26 11:41:08 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-04-26 11:41:08 +0200 |
commit | 3446e68ac2aa3f970307b748fee5ee2da1af4ca4 (patch) | |
tree | b1c3177d077c04965f3be11c6f20be9eee565a23 /view | |
parent | 5553df862af3b7161fa84914999538a1e9d070bd (diff) | |
download | volse-hubzilla-3446e68ac2aa3f970307b748fee5ee2da1af4ca4.tar.gz volse-hubzilla-3446e68ac2aa3f970307b748fee5ee2da1af4ca4.tar.bz2 volse-hubzilla-3446e68ac2aa3f970307b748fee5ee2da1af4ca4.zip |
move spoiler= and quote= bbcode handling from prepare_body() to bbcode() and add open tag to bbco_autocomplete
Diffstat (limited to 'view')
-rw-r--r-- | view/js/autocomplete.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index 84cc075dc..21ce2d150 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -265,7 +265,7 @@ function string2bb(element) { $.fn.bbco_autocomplete = function(type) { if(type=='bbcode') { - var open_close_elements = ['bold', 'italic', 'underline', 'overline', 'strike', 'superscript', 'subscript', 'quote', 'code', 'spoiler', 'map', 'nobb', 'list', 'ul', 'ol', 'li', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size', 'zrl', 'zmg', 'rpost', 'qr', 'observer']; + var open_close_elements = ['bold', 'italic', 'underline', 'overline', 'strike', 'superscript', 'subscript', 'quote', 'code', 'open', 'spoiler', 'map', 'nobb', 'list', 'ul', 'ol', 'li', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size', 'zrl', 'zmg', 'rpost', 'qr', 'observer']; var open_elements = ['observer.baseurl', 'observer.address', 'observer.photo', 'observer.name', 'observer.webname', 'observer.url', '*', 'hr', ]; var elements = open_close_elements.concat(open_elements); |