Skip to content

Commit

Permalink
Fix HTML escaping in CheckBoxField
Browse files Browse the repository at this point in the history
Closes #336
  • Loading branch information
mizdebsk committed Mar 5, 2021
1 parent f4c7aa9 commit edf5109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion koschei/frontend/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def process(self, formdata, *args, **kwargs):
def __call__(self, **kwargs):
marker = '<input type="hidden" name="{name}__present" value="1"/>'\
.format(name=self.name)
return HTMLString(self.meta.render_field(self, kwargs) + marker)
return self.meta.render_field(self, kwargs) + HTMLString(marker)


class StrippedStringField(StringField):
Expand Down

0 comments on commit edf5109

Please sign in to comment.