Open RichardoC opened 1 month ago
Can this behaviour please be documented and warned of in the main readme and function comments?
Current users might be relying on the sanitised return values and wouldn't be expecting this to change in a patch version.
https://github.com/tidwall/gjson/commit/28d458b14c40df6321bba23bcb39579d468f5e97
Thanks!
You are right. After further consideration I change the behavior back to the previous and added the flag DisableEscapeHTML to provide users the option.
DisableEscapeHTML
Can this behaviour please be documented and warned of in the main readme and function comments?
Current users might be relying on the sanitised return values and wouldn't be expecting this to change in a patch version.
https://github.com/tidwall/gjson/commit/28d458b14c40df6321bba23bcb39579d468f5e97
Thanks!