fix parse_strip call

This commit is contained in:
r888888888
2016-04-27 17:14:06 -07:00
parent ccd8c43718
commit 5fe163b29f

View File

@@ -323,6 +323,10 @@ class DText
html.join("").html_safe
end
def self.parse_strip(s)
strip(s)
end
def self.strip(s)
s.gsub!(/[\r\n]+/m, " ")
s.gsub!(/\[\/?(?:b|i|s|u|tn|tr|td|th|thead|tbody|quote|code|spoilers|spoiler|expand|table)\]/, "")