Remove pre tag attributes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1930 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
+1
-1
@@ -1051,7 +1051,7 @@ class RedCloth3 < String
|
||||
else
|
||||
htmlesc( aftertag, :NoQuotes ) if aftertag
|
||||
line = "<redpre##{ @pre_list.length }>"
|
||||
@pre_list << "#{ $3 }#{ aftertag }"
|
||||
@pre_list << "#{ $3.gsub(/<(#{ OFFTAGS })[^>]*>/, '<\\1>') }#{ aftertag }"
|
||||
end
|
||||
elsif $1 and codepre > 0
|
||||
if codepre - used_offtags.length > 0
|
||||
|
||||
Reference in New Issue
Block a user