Repository navigation
Commit b0b8e8b
fix(XMLAdapter): strip str values that contain inline tags
The branch that keeps inline markup (e.g. <b>) in a str field returned the
raw text with its surrounding newlines, while plain-text values are stripped.
Strip it too, so the parsed value matches the streamed value.
Amp-Thread-ID: https://ampcode.com/threads/T-01a12205-ee56-76b8-bf88-29e3d8708bff
Co-authored-by: Isaac Miller <isaac@cmpnd.ai>1 parent 1dcdf86 commit b0b8e8b
2 files changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
47 | 57 | | |
48 | 58 | | |
49 | 59 | | |
| |||
0 commit comments