Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

spec-1.2 rule [53]

Support "\/" for JSON compatability.
  • Loading branch information...
commit 66bcb985569e7b643823c9ba1aeb47892583aeef 1 parent 02ace30
@ingydotnet ingydotnet authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/scanner.c
View
4 src/scanner.c
@@ -3156,6 +3156,10 @@ yaml_parser_scan_flow_scalar(yaml_parser_t *parser, yaml_token_t *token,
*(string.pointer++) = '"';
break;
+ case '/':
+ *(string.pointer++) = '/';
+ break;
+
case '\'':
*(string.pointer++) = '\'';
break;
Please sign in to comment.
Something went wrong with that request. Please try again.