Thomas Lamprecht f2c4f9bdc2 markdown: make sanitizer more strict
The href, and in some browser also the src attrs on img, or a tags
can be made to execute JS rather easily, catch thoseand just remove
the attr if, after creating an URL object from it, it does not looks
like it's a http(s) request.

Further, filter out the style tag completely, as that can be misused
too, even if only to break cosmetics.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-04 20:06:28 +02:00
2021-07-03 16:34:47 +02:00
2021-07-04 20:06:28 +02:00
2021-06-29 12:21:06 +02:00
Description
No description provided
1.2 MiB
Languages
JavaScript 93.1%
SCSS 4.7%
Makefile 1.1%
CSS 1.1%