mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-10-30 18:48:56 +03:00
Fixed bug with options not being passed to bleach properly
This commit is contained in:
@@ -33,7 +33,7 @@ class LocalizedBleachField(LocalizedField):
|
|||||||
|
|
||||||
localized_value.set(
|
localized_value.set(
|
||||||
lang_code,
|
lang_code,
|
||||||
bleach.clean(value, get_bleach_default_options())
|
bleach.clean(value, **get_bleach_default_options())
|
||||||
)
|
)
|
||||||
|
|
||||||
return localized_value
|
return localized_value
|
||||||
|
|||||||
Reference in New Issue
Block a user