Skip to content

Commit

Permalink
Fix: 删除线Tag<s>加入允许列表
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Apr 5, 2011
1 parent a838df7 commit c3abc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/asks_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def topics_name_tag(topics,limit = 20)

def md_body(str)
return "" if str.blank?
str = sanitize(str,:tags => %w(strong b i u strike ol ul li blockquote address br div), :attributes => %w(src))
str = sanitize(str,:tags => %w(strong b i u strike s ol ul li blockquote address br div), :attributes => %w(src))
str = auto_link_urls(str,{:target => "_blank", :rel => "nofollow" }, {:limit => 80 })
return raw str
end
Expand Down

0 comments on commit c3abc76

Please sign in to comment.