From c3abc76a067125a71162a217a390a4521b69de2e Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Tue, 5 Apr 2011 14:23:45 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20=E5=88=A0=E9=99=A4=E7=BA=BFTag?= =?UTF-8?q?=E5=8A=A0=E5=85=A5=E5=85=81=E8=AE=B8=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/asks_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/asks_helper.rb b/app/helpers/asks_helper.rb index b98688b..5db7f1d 100644 --- a/app/helpers/asks_helper.rb +++ b/app/helpers/asks_helper.rb @@ -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