Commit graph

16 commits

Author SHA1 Message Date
jviide c15df78cbb
fix: prevent HTML injections to code blocks (#1165) 2023-01-15 10:48:22 +00:00
Daniel Roe c280ee389c
feat: support additional html elements (#1102) 2023-01-14 11:40:53 +01:00
Daniel Roe 8da4a8e78a fix: escape backticks within codeblocks
resolves https://github.com/elk-zone/elk/issues/970
2023-01-11 23:54:45 +00:00
Daniel Roe c2850a34ae
fix: use mention accts within a status to render links (#955) 2023-01-11 18:18:06 +01:00
Daniel Roe f9509f8987
fix: escape/textify the contents of inline and block code (#954) 2023-01-11 16:24:13 +00:00
patak 39034c5777 chore: update snapshots 2023-01-07 23:53:40 +01:00
Anthony Fu 6944a74653 refactor: html parsing 2023-01-07 10:31:48 +01:00
jviide 5c0e1790fa
fix: sanitize HTML from Mastodon servers (#788) 2023-01-05 08:21:09 +01:00
Vjacheslav Trushkin fa9c418e21
feat: replace emoji with SVGs (#129) (#584)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-01-02 05:53:53 +01:00
Anthony Fu 2f8e47c947 chore: update snapshot 2022-12-27 21:50:40 +01:00
Anthony Fu e97068f000 chore: update snapshot 2022-12-27 19:41:01 +01:00
Daniel Roe 1c0f8b0147
perf: replace parse5 with ultrahtml (#336) 2022-12-04 23:10:10 +01:00
三咲智子 Kevin Deng 0f06653636
fix: render code block without language (#276) 2022-12-02 10:19:31 +08:00
Anthony Fu 66393cd838 feat(content): serialize custom emoji 2022-11-30 14:50:51 +08:00
Anthony Fu db5a022f3b feat: rework content handling to support inline markdown 2022-11-30 13:27:24 +08:00
Anthony Fu ccf6a17f72 feat: improve editor 2022-11-30 12:50:29 +08:00
Renamed from tests/__snapshots__/content.test.ts.snap (Browse further)