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:
Jean-Philippe Lang 2012-01-30 20:11:08 +00:00
parent 2664693ae8
commit 7409963c9a
1 changed files with 1 additions and 1 deletions

View File

@ -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)+')'