评论报错

dev_local_scyd
daiao 5 years ago
parent 97c8b75edb
commit b52f0e9841

@ -12,7 +12,7 @@ module ApplicationHelper
# xss共计问题
def content_safe content
return nil if content.present?
return nil if content.blank?
tags = %w(
a abbr b bdo blockquote br caption cite code col colgroup dd del dfn dl
dt em figcaption figure h1 h2 h3 h4 h5 h6 hgroup i img ins kbd li mark

Loading…
Cancel
Save