projects
/
booh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove non US-ASCII stuff in strings for ruby 1.9
[booh]
/
lib
/
booh
/
rexml
/
doctype.rb
diff --git
a/lib/booh/rexml/doctype.rb
b/lib/booh/rexml/doctype.rb
index 17eba33181f40d66e9f8d67124a06ae345766737..af019007d07b42168419c7e032459db0681de769 100644
(file)
--- a/
lib/booh/rexml/doctype.rb
+++ b/
lib/booh/rexml/doctype.rb
@@
-197,7
+197,7
@@
module REXML
# Method contributed by Henrik Martensson
def strip_quotes(quoted_string)
- quoted_string =~ /^[\'\"].*[\
ยด
\"]$/ ?
+ quoted_string =~ /^[\'\"].*[\
'
\"]$/ ?
quoted_string[1, quoted_string.length-2] :
quoted_string
end