Add "float: right|left" support for css. (#1208)

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
This commit is contained in:
Calum
2023-09-02 14:31:59 +01:00
committed by GitHub
parent 57964282ee
commit 133367ddb5

View File

@@ -25,6 +25,7 @@ export const configuredXss = new xss.FilterXSS({
whiteList: {
'image-rendering': /^pixelated$/,
'text-align': /^center|left|right$/,
float: /^left|right$/,
},
},
onIgnoreTagAttr: (tag, name, value) => {