remove non US-ASCII stuff in strings for ruby 1.9
[booh] / lib / booh / rexml / doctype.rb
index 17eba33181f40d66e9f8d67124a06ae345766737..af019007d07b42168419c7e032459db0681de769 100644 (file)
@@ -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