Commit 19ace45
revert(json): remove SetEscapeHTML(false) from Encode function
The SetEscapeHTML(false) change did not propagate through orderedmap.MarshalJSON()
which creates its own json.NewEncoder without the setting. Since all local JSON files
go through the orderedmap path, the change had inconsistent behavior and risked
altering encoding of existing configs. Revert to original json.MarshalIndent/json.Marshal.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 70aad84 commit 19ace45
1 file changed
Lines changed: 8 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
16 | 15 | | |
17 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | | - | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 24 | + | |
29 | 25 | | |
30 | 26 | | |
31 | 27 | | |
| |||
0 commit comments