yq/pkg/yqlib
evnp 9c9764f9a9 Don't escape HTML chars when converting to json
json.Encoder and json.Marshal implicitly use HTMLEscape to convert
>, <, &, with \u003c, \u003e, \u0026. This behavior carries over
to yq, where chars will be escaped when outputting json but not when
outputting yaml.

This changeset disables this behavior via encoder.SetEscapeHTML(false).
Unfortunately there is no equivalent option for json.Marshal, so its
single usage has been replaced with an encoder (with escaping disabled).
2021-01-16 22:09:22 -08:00
..
doc Can assign-update tag 2021-01-06 20:44:28 +11:00
all_at_once_evaluator.go Extracted out evaluators 2020-11-22 11:56:28 +11:00
candidate_node.go Fixed updating yaml from other files 2021-01-02 10:27:32 +11:00
color_print.go Colors work for all commands 2020-02-28 10:42:19 +11:00
data_tree_navigator.go Extracted out evaluators 2020-11-22 11:56:28 +11:00
encoder_test.go Don't escape HTML chars when converting to json 2021-01-16 22:09:22 -08:00
encoder.go Don't escape HTML chars when converting to json 2021-01-16 22:09:22 -08:00
file_utils.go wip - write in place 2020-11-29 20:25:47 +11:00
lib.go Can assign-update comments 2021-01-06 20:22:50 +11:00
matchKeyString.go refactored 2020-11-04 10:48:43 +11:00
operator_add_test.go Add now uses crossFunction 2020-12-21 11:54:03 +11:00
operator_add.go Can assign-update comments 2021-01-06 20:22:50 +11:00
operator_alternative_test.go fixed test name 2020-12-22 11:47:58 +11:00
operator_alternative.go Added Alternative op 2020-12-21 11:32:34 +11:00
operator_anchors_aliases_test.go Can assign-update aliases and anchors 2021-01-06 20:30:48 +11:00
operator_anchors_aliases.go Can assign-update aliases and anchors 2021-01-06 20:30:48 +11:00
operator_assign_test.go Fixed updating yaml from other files 2021-01-02 10:27:32 +11:00
operator_assign.go Can assign-update comments 2021-01-06 20:22:50 +11:00
operator_booleans_test.go Fixing docs 2020-11-22 13:16:54 +11:00
operator_booleans.go Boolean operators now use the crossFunction util func 2020-12-21 11:42:35 +11:00
operator_collect_object_test.go Updated collect objcet doc 2021-01-06 15:20:54 +11:00
operator_collect_object.go Added recurse keys operator 2020-12-28 11:24:42 +11:00
operator_collect_test.go Added append equals, merge append. Fixed creating numeric arrays 2020-11-28 11:24:16 +11:00
operator_collect.go Fixed empty array op 2020-11-22 13:50:32 +11:00
operator_comments_test.go Can assign-update comments 2021-01-06 20:22:50 +11:00
operator_comments.go Can assign-update comments 2021-01-06 20:22:50 +11:00
operator_create_map_test.go Fixed empty array op 2020-11-22 13:50:32 +11:00
operator_create_map.go Fixed collect object for multi doc 2020-11-13 13:19:54 +11:00
operator_delete_test.go Fixed delete full path 2020-12-22 11:45:51 +11:00
operator_delete.go Fixed nested array splat path 2020-12-25 12:49:05 +11:00
operator_document_index_test.go Added shorthand document index selection 2021-01-05 13:28:37 +11:00
operator_document_index.go Fixing docs 2020-11-22 13:16:54 +11:00
operator_equals_test.go Fixing docs 2020-11-22 13:16:54 +11:00
operator_equals.go refactored 2020-11-04 10:48:43 +11:00
operator_file_test.go Refactored doc generation, add fi fileIndex alias 2021-01-02 10:49:33 +11:00
operator_file.go Added File operators 2020-11-20 22:57:32 +11:00
operator_has_test.go Added has operator 2020-11-24 11:38:39 +11:00
operator_has.go Added has operator 2020-11-24 11:38:39 +11:00
operator_length_test.go Added pipe and length docs, fix pipe precedence 2020-12-01 17:58:07 +11:00
operator_length.go Added pipe and length docs, fix pipe precedence 2020-12-01 17:58:07 +11:00
operator_multiply_test.go Added append equals, merge append. Fixed creating numeric arrays 2020-11-28 11:24:16 +11:00
operator_multiply.go Can assign-update comments 2021-01-06 20:22:50 +11:00
operator_path_test.go Fixed nested array splat path 2020-12-25 12:49:05 +11:00
operator_path.go added path operator! 2020-11-22 12:19:57 +11:00
operator_pipe_test.go Added pipe and length docs, fix pipe precedence 2020-12-01 17:58:07 +11:00
operator_pipe.go Added pipe and length docs, fix pipe precedence 2020-12-01 17:58:07 +11:00
operator_recursive_descent_test.go Added recurse keys operator 2020-12-28 11:24:42 +11:00
operator_recursive_descent.go Added recurse keys operator 2020-12-28 11:24:42 +11:00
operator_select_test.go Fixed empty array op 2020-11-22 13:50:32 +11:00
operator_select.go refactored 2020-11-04 10:48:43 +11:00
operator_self.go refactored 2020-11-04 10:48:43 +11:00
operator_sort_keys_test.go Added sort keys operator 2020-12-01 15:06:54 +11:00
operator_sort_keys.go Added sort keys operator 2020-12-01 15:06:54 +11:00
operator_style_test.go Can assign-update style 2021-01-06 20:37:53 +11:00
operator_style.go Can assign-update style 2021-01-06 20:37:53 +11:00
operator_tag_test.go Can assign-update tag 2021-01-06 20:44:28 +11:00
operator_tag.go Can assign-update tag 2021-01-06 20:44:28 +11:00
operator_traverse_path_test.go More scenarios 2020-12-27 23:00:46 +11:00
operator_traverse_path.go Added recurse keys operator 2020-12-28 11:24:42 +11:00
operator_union_test.go Fixing docs 2020-11-22 13:16:54 +11:00
operator_union.go refactored 2020-11-04 10:48:43 +11:00
operator_value_test.go moved string space test to op values test cases 2020-12-22 10:38:52 +11:00
operator_value.go refactored 2020-11-04 10:48:43 +11:00
operators_test.go Refactored doc generation, add fi fileIndex alias 2021-01-02 10:49:33 +11:00
operators.go Fixed delete full path 2020-12-22 11:45:51 +11:00
path_parse_test.go Can assign-update comments 2021-01-06 20:22:50 +11:00
path_postfix.go Added pipe and length docs, fix pipe precedence 2020-12-01 17:58:07 +11:00
path_tokeniser.go Can assign-update comments 2021-01-06 20:22:50 +11:00
path_tree_test.go Added better error reporting 2020-12-17 14:19:46 +11:00
path_tree.go Added better error reporting 2020-12-17 14:19:46 +11:00
printer_test.go handle multiple document streams 2020-12-15 14:33:50 +11:00
printer.go handle multiple document streams 2020-12-15 14:33:50 +11:00
stream_evaluator.go Fixed create yaml 2020-12-01 14:06:49 +11:00
utils.go wip - write in place 2020-11-29 20:25:47 +11:00
write_in_place_handler.go Added write-inlplace flag 2020-11-30 16:05:07 +11:00