Commit Graph

33 Commits

Author SHA1 Message Date
patak a81e8742d1 chore: remove unused snapshots 2023-01-19 01:01:48 +01:00
patak 3132f4fdea
feat: hide redudant mentions (#1293) 2023-01-18 16:59:37 +01:00
Daniel Roe 80da856402 fix: handle parsing pure plain text 2023-01-16 20:41:42 +00:00
jviide 8c170961cb
feat: support all HTML elements allowed by Glitch (#1233)
Closes https://github.com/elk-zone/elk/issues/1230
2023-01-16 19:04:27 +01:00
Anthony Fu b049b40298
fix(editor): mention handling on post editing (#1223) 2023-01-16 12:36:22 +00:00
patak 46bd13310a
chore: webtoo.ls as default server (#1215) 2023-01-16 10:24:14 +00:00
Darius Kruythoff 95dda1fdb6
feat: have all emojis respect prefers-reduced-motion (#962) 2023-01-16 00:51:52 +00:00
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 ff0ad77676 fix: insert space around custom emojis 2022-12-27 22:08:48 +01:00
Anthony Fu 2f8e47c947 chore: update snapshot 2022-12-27 21:50:40 +01:00
Anthony Fu dc94d707b0 fix: emoji replacement 2022-12-27 21:42:58 +01:00
Anthony Fu 8bd93722e2 chore: update snapshot 2022-12-27 20:20:07 +01:00
Anthony Fu e97068f000 chore: update snapshot 2022-12-27 19:41:01 +01:00
Joaquín Sánchez 4d21d27f94
feat: render custom server emojis on editor (#579) 2022-12-27 19:38:57 +01:00
Robert van Hoesel f8ebc0e99a
fix: don't decode HTML entities (`&foo;`) until rendering (#465) 2022-12-20 00:23:06 +00:00
Daniel Roe 4146915a33
fix: decode numerically encoded html entities in text 2022-12-05 00:15:30 +00: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
Anthony Fu 8dd91002d7 feat: improve code block parsing 2022-11-27 14:16:02 +08:00
Anthony Fu 64e052d317 Revert "feat: support more markdown syntaxes"
This reverts commit c9ae7cf942.
2022-11-26 05:21:44 +08:00
Anthony Fu ff81389404 test: add more test for rich content 2022-11-25 16:56:18 +08:00
Anthony Fu 15733000a6 chore: setup unit test 2022-11-25 16:26:02 +08:00