Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Allow align attribute

Marcin Gębala417ac59c2cb2
diff --git a/saleor/settings.py b/saleor/settings.py
index 48c4871fda..4d528b563e 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -415,7 +415,7 @@ ALLOWED_TAGS = [
'strong',
'ul']
ALLOWED_ATTRIBUTES = {
- '*': 'style',
+ '*': ['align', 'style'],
'a': ['href', 'title'],
'img': ['src']}
ALLOWED_STYLES = ['text-align']