{% load i18n %} {% with widget_value=widget.value|stringformat:'s' %} {% spaceless %} {% endspaceless %} {% endwith %}