notes: allow <rtc>, <sub>, <sup>, <hr>, <wbr> tags.

This commit is contained in:
evazion
2017-06-15 20:36:07 -05:00
parent 869ccad6ba
commit 9570bf026c

View File

@@ -1,7 +1,7 @@
module NoteSanitizer
ALLOWED_ELEMENTS = %w(
code center tn h1 h2 h3 h4 h5 h6 a span div blockquote br p ul li ol em
strong small big b i font u s pre ruby rb rt rp
strong small big b i font u s pre ruby rb rt rp rtc sub sup hr wbr
)
ALLOWED_ATTRIBUTES = {