mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-04-25 03:32:55 +03:00
Fixed bug with options not being passed to bleach properly
This commit is contained in:
parent
6d9ee5df8d
commit
9f46dc4ca9
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user