From 6d41de61a5e5daa0955b8ff04894bc568feae77b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 25 Apr 2012 19:49:26 +0000 Subject: [PATCH] Do not sanitize escaped text in NullFormatter. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9530 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/wiki_formatting.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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