diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/rexml/doctype.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/doctype.rb b/lib/rexml/doctype.rb index e90c12d51..35beabc56 100644 --- a/lib/rexml/doctype.rb +++ b/lib/rexml/doctype.rb @@ -188,7 +188,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 |
