]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
parser: sanitize HTML: allow 'disabled', 'start', 'type' and 'checked' attributes
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Jun 2021 15:37:27 +0000 (17:37 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Jun 2021 15:37:38 +0000 (17:37 +0200)
commita610dd9e329108a1755b1c4e544d8f63e0e847a2
tree3bae357b99408a9be7f8fc452365d75ea83d41d2
parentd1c4a7389f60f844ebdf1b3085e05ce68d1828e6
parser: sanitize HTML: allow 'disabled', 'start', 'type' and 'checked' attributes

This makes check box lists like the following snipped work:

- [X] Done
- [ ] not done

Further allow the start attr, sometimes generated for ordered lists.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/Parser.js