Skip to content

Commit 39a1776

Browse files
committed
HTML Sanitization: Allow "style" tag on any element (for user HTML content in jobs). Fixes #150.
1 parent bc63feb commit 39a1776

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/ui.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,6 +1080,7 @@
10801080
"col", "colgroup", "table", "tbody", "td", "tfoot", "th", "thead", "tr"
10811081
],
10821082
"allowedAttributes": {
1083+
"*": [ "style" ],
10831084
"a": [ "href", "target" ],
10841085
"div": [ "class" ],
10851086
"pre": [ "class" ],

0 commit comments

Comments
 (0)