Fix for ruby1.9.3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8736 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
2664693ae8
commit
7409963c9a
|
@ -98,7 +98,7 @@ module Redmine
|
|||
|
||||
def textstring(s)
|
||||
# Format a text string
|
||||
if s =~ /^</ # This means the string is hex-dumped.
|
||||
if s.chars.first == '<' # This means the string is hex-dumped.
|
||||
return s
|
||||
else
|
||||
return '('+escape(s)+')'
|
||||
|
|
Loading…
Reference in New Issue