Commit Graph

15 Commits

Author SHA1 Message Date
Konstantinos Kaloutas
4f93f92eb0 fix: allowed attributes an add a test 2022-11-18 10:34:34 -05:00
Darwis
7a508dde0a fix issue #7366 render custom html element as hiccup no longger working. dompurify remove is attribute from hiccup 2022-11-18 10:34:34 -05:00
Konstantinos Kaloutas
8dfab3bd13 fix: allow custom protocols 2022-11-04 23:01:14 +08:00
Konstantinos Kaloutas
60790763dd fix: remove attributes and protocols 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas
a36f56c8df chore: add tests 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas
f18cc5c6fb chore: remove redundant functions 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas
56584121e6 chore: add sanitization options 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas
f70d4c6bac fix: sanitize html 2022-10-10 13:42:22 +08:00
Gabriel Horner
1f0e22275d Add ns docstrings for most ns in src/main
- Added to CI now that it passes
- Added no-doc for docstrings that don't add any more than what's in the
ns name or for ones where I didn't know the ns that well
2022-09-27 13:55:16 +08:00
Gabriel Horner
5b0d5fb8b5 Decouple graph-parser util from app util usage
For tiny util heavily used fns like safe-re-find and uuid-string?,
decouple graph-parser from so much of the app
2022-05-13 16:17:44 -04:00
Gabriel Horner
85bd1fecb2 Move first batch of util fns to graph-parser.util
Still need to fix external.roam
2022-05-04 12:02:36 -04:00
Tienson Qin
6c70914150 chore: replace re-find with safe-re-find 2021-05-23 13:05:35 +08:00
Tienson Qin
2192a4945e fix: Database isn't escaped when dumped in the published HTML file
Related to #1100
2021-01-18 07:02:30 -08:00
Michael Wong
3cc0d3154a style: remove unused :require (#193)
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2020-11-04 11:35:35 +08:00
Tienson Qin
2d1fa33204 refactor: remove web 2020-10-27 23:19:40 +08:00