diff options
| author | 2023-11-28 11:49:50 +0100 | |
|---|---|---|
| committer | 2023-11-28 11:49:50 +0100 | |
| commit | 5b2f361b33d77c99ff360c4a0719c62deba3984e (patch) | |
| tree | b557bd219887502d3d1627221efde839b7591a0b | |
| parent | Attachments in html_entry() use now xs_html. (diff) | |
| download | snac2-5b2f361b33d77c99ff360c4a0719c62deba3984e.tar.gz snac2-5b2f361b33d77c99ff360c4a0719c62deba3984e.tar.xz snac2-5b2f361b33d77c99ff360c4a0719c62deba3984e.zip | |
Fixed an excessive sanitization.
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1573,7 +1573,7 @@ xs_str *html_entry(snac *user, xs_str *os, const xs_dict *msg, int local, | |||
| 1573 | xs_html_attr("class", "snac-origin"), | 1573 | xs_html_attr("class", "snac-origin"), |
| 1574 | xs_html_tag("a", | 1574 | xs_html_tag("a", |
| 1575 | xs_html_attr("href", xs_dict_get(actor_r, "id")), | 1575 | xs_html_attr("href", xs_dict_get(actor_r, "id")), |
| 1576 | xs_html_text(name)), | 1576 | xs_html_raw(name)), /* already sanitized */ |
| 1577 | xs_html_text(" "), | 1577 | xs_html_text(" "), |
| 1578 | xs_html_text(L("boosted")))); | 1578 | xs_html_text(L("boosted")))); |
| 1579 | } | 1579 | } |