Escape HTML Entities #857
Annotations
7 errors
Run rake test JSON_COMPACT=1:
test/json/json_generator_test.rb#L538
<"[\"\\u00e9\\u0026\\u003c\\u003e\"]"> expected but was
<"[\"\\u00e9&<>\"]">.
|
Run rake test JSON_COMPACT=1:
test/json/json_generator_test.rb#L490
<"[\"\\/\"]"> expected but was
<"[\"/\"]">.
diff:
- ["\/"]
? -
+ ["/"]
|
Run rake test JSON_COMPACT=1:
test/json/json_generator_test.rb#L516
<"[\"\\u0026\"]"> expected but was
<"[\"&\"]">.
|
Run rake test JSON_COMPACT=1:
test/json/json_generator_test.rb#L244
<[[:allow_nan, false],
[:array_nl, ""],
[:as_json, false],
[:ascii_only, false],
[:buffer_initial_length, 1024],
[:depth, 0],
[:escape_html_entities, false],
[:indent, ""],
[:max_nesting, 0],
[:object_nl, ""],
[:script_safe, false],
[:space, ""],
[:space_before, ""],
[:strict, false]]> expected but was
<[[:allow_nan, false],
[:array_nl, ""],
[:as_json, false],
[:ascii_only, false],
[:buffer_initial_length, 1024],
[:depth, 0],
[:indent, ""],
[:max_nesting, 0],
[:object_nl, ""],
[:script_safe, false],
[:space, ""],
[:space_before, ""],
[:strict, false]]>.
diff:
[[:allow_nan, false],
[:array_nl, ""],
[:as_json, false],
[:ascii_only, false],
[:buffer_initial_length, 1024],
[:depth, 0],
- [:escape_html_entities, false],
[:indent, ""],
[:max_nesting, 0],
[:object_nl, ""],
[:script_safe, false],
[:space, ""],
[:space_before, ""],
[:strict, false]]
|
Run rake test JSON_COMPACT=1:
test/json/json_generator_test.rb#L204
<[[:allow_nan, false],
[:array_nl, "\n"],
[:as_json, false],
[:ascii_only, false],
[:buffer_initial_length, 1024],
[:depth, 0],
[:escape_html_entities, false],
[:indent, " "],
[:max_nesting, 100],
[:object_nl, "\n"],
[:script_safe, false],
[:space, " "],
[:space_before, ""],
[:strict, false]]> expected but was
<[[:allow_nan, false],
[:array_nl, "\n"],
[:as_json, false],
[:ascii_only, false],
[:buffer_initial_length, 1024],
[:depth, 0],
[:indent, " "],
[:max_nesting, 100],
[:object_nl, "\n"],
[:script_safe, false],
[:space, " "],
[:space_before, ""],
[:strict, false]]>.
diff:
[[:allow_nan, false],
[:array_nl, "\n"],
[:as_json, false],
[:ascii_only, false],
[:buffer_initial_length, 1024],
[:depth, 0],
- [:escape_html_entities, false],
[:indent, " "],
[:max_nesting, 100],
[:object_nl, "\n"],
[:script_safe, false],
[:space, " "],
[:space_before, ""],
[:strict, false]]
|
Run rake test JSON_COMPACT=1:
test/json/json_generator_test.rb#L224
<[[:allow_nan, false],
[:array_nl, ""],
[:as_json, false],
[:ascii_only, false],
[:buffer_initial_length, 1024],
[:depth, 0],
[:escape_html_entities, false],
[:indent, ""],
[:max_nesting, 100],
[:object_nl, ""],
[:script_safe, false],
[:space, ""],
[:space_before, ""],
[:strict, false]]> expected but was
<[[:allow_nan, false],
[:array_nl, ""],
[:as_json, false],
[:ascii_only, false],
[:buffer_initial_length, 1024],
[:depth, 0],
[:indent, ""],
[:max_nesting, 100],
[:object_nl, ""],
[:script_safe, false],
[:space, ""],
[:space_before, ""],
[:strict, false]]>.
diff:
[[:allow_nan, false],
[:array_nl, ""],
[:as_json, false],
[:ascii_only, false],
[:buffer_initial_length, 1024],
[:depth, 0],
- [:escape_html_entities, false],
[:indent, ""],
[:max_nesting, 100],
[:object_nl, ""],
[:script_safe, false],
[:space, ""],
[:space_before, ""],
[:strict, false]]
|
Run rake test JSON_COMPACT=1
Process completed with exit code 1.
|
Loading