10 Commits

Author SHA1 Message Date
fiatjaf
a934edf67b support markdown tables. 2025-02-23 06:52:13 -03:00
fiatjaf
ca21f46a20 move sanitizeXSS() to markdown.go 2025-01-16 17:05:19 +01:00
fiatjaf
54a049668f fix nostr mentions in markdown articles. 2024-09-27 07:45:18 -03:00
fiatjaf
eec737cbc7 remove a unused function. 2024-09-16 15:50:37 -03:00
fiatjaf
a91d5165fe disallow HTML in markdown for kind 30023 at all costs. 2024-09-16 15:50:24 -03:00
fiatjaf
2ed5108890 be a little more strict with markdown. 2024-09-16 15:49:25 -03:00
fiatjaf
8403f6e129 massive template refactoring and cleanup. 2024-01-10 14:19:43 -03:00
fiatjaf
64456022a6 the markdown parser is stateful, so it must be reinitialized every time. 2023-11-30 12:20:28 -03:00
Daniele Tonon
e4cd448c4c Add an option to mdToHTML to strip links 2023-11-28 20:15:38 +01:00
fiatjaf
929307f3ba move markdown stuff to its own file and simplify code a bit. 2023-11-12 18:11:14 -03:00