Permalink
Browse files

allow single quoted strings in all modes

  • Loading branch information...
1 parent 8fe31da commit 517bbc61b3b5ba9f56c5f59cfb0e4aa4fc95826c @ohler55 committed Aug 7, 2013
Showing with 4 additions and 4 deletions.
  1. +2 −2 README.md
  2. +1 −1 ext/ox/parse.c
  3. +1 −1 lib/ox/version.rb
View
@@ -34,9 +34,9 @@ A fast XML parser and Object marshaller as a Ruby gem.
## <a name="release">Release Notes</a>
-### Release 2.0.7
+### Release 2.0.8
- - Fixed DOCTYPE parsing to handle nested '>' characters.
+ - Allow single quoted strings in all modes.
## <a name="description">Description</a>
View
@@ -831,7 +831,7 @@ static char*
read_quoted_value(PInfo pi) {
char *value = 0;
- if ('"' == *pi->s || ('\'' == *pi->s && StrictEffort != pi->options->effort)) {
+ if ('"' == *pi->s || '\'' == *pi->s) {
char term = *pi->s;
pi->s++; /* skip quote character */
View
@@ -1,5 +1,5 @@
module Ox
# Current version of the module.
- VERSION = '2.0.7'
+ VERSION = '2.0.8'
end

0 comments on commit 517bbc6

Please sign in to comment.