Fixed bug with options not being passed to bleach properly

This commit is contained in:
Swen Kooij 2016-10-26 17:03:34 +03:00
parent 6d9ee5df8d
commit 9f46dc4ca9

View File

@ -33,7 +33,7 @@ class LocalizedBleachField(LocalizedField):
localized_value.set(
lang_code,
bleach.clean(value, get_bleach_default_options())
bleach.clean(value, **get_bleach_default_options())
)
return localized_value