From: Jean-Philippe Lang Date: Wed, 25 Apr 2012 19:49:26 +0000 (+0000) Subject: Do not sanitize escaped text in NullFormatter. X-Git-Tag: 2.0.0~145 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6d41de61a5e5daa0955b8ff04894bc568feae77b;p=redmine.git Do not sanitize escaped text in NullFormatter. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9530 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/wiki_formatting.rb b/lib/redmine/wiki_formatting.rb index f1d8378f5..6b8301340 100644 --- a/lib/redmine/wiki_formatting.rb +++ b/lib/redmine/wiki_formatting.rb @@ -151,7 +151,7 @@ module Redmine t = CGI::escapeHTML(@text) auto_link!(t) auto_mailto!(t) - simple_format(t) + simple_format(t, {}, :sanitize => false) end end