Add sanitizer rules per renderer #16110

Merged
KN4CK3R merged 5 commits from feature-sanitizer into main 2021-06-23 21:09:51 +00:00
KN4CK3R commented 2021-06-08 15:12:59 +00:00 (Migrated from github.com)

Addition to #16098

Allows to specify sanitizer rules per renderer. This allows to permit elements only for a specific renderer but disallow them for others. Global rules are still available.
Adds a new ini setting ALLOW_DATA_URI_IMAGES to control bluemonday AllowDataURIImages().
Adds some examples to the docs.

Addition to #16098 Allows to specify sanitizer rules per renderer. This allows to permit elements only for a specific renderer but disallow them for others. Global rules are still available. Adds a new ini setting `ALLOW_DATA_URI_IMAGES` to control bluemonday `AllowDataURIImages()`. Adds some examples to the docs.
zeripath approved these changes 2021-06-22 22:27:31 +00:00
techknowlogick approved these changes 2021-06-23 20:51:48 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#16110
No description provided.