diff options
| author | Chih-Hsuan Yen <645432-yan12125@users.noreply.gitlab.com> | 2023-12-15 13:12:26 +0800 |
|---|---|---|
| committer | Chih-Hsuan Yen <645432-yan12125@users.noreply.gitlab.com> | 2023-12-18 22:46:35 +0800 |
| commit | f1a9ac9b159127e8eb7c301e9a646eabb188e1af (patch) | |
| tree | c7353b1bad7040c31c97645eed868d60375d2c15 /classes | |
| parent | 67012f9dac7de22615b72be93fa360f53fefe3ec (diff) | |
sanitizer: add a test to make sure <figure> is intact
Somehow with the old approach, `<figure>` is rearranged into `<head>`,
and the latter is stripped by `Sanitizer::strip_harmful_tags()` (see
[1]). The issue is fixed by [2]. Here I added a test for the regression.
[1] https://community.tt-rss.org/t/unexpected-behavior-with-figure-tag/6244
[2] https://gitlab.tt-rss.org/tt-rss/tt-rss/-/commit/67012f9dac7de22615b72be93fa360f53fefe3ec
Diffstat (limited to 'classes')
0 files changed, 0 insertions, 0 deletions