Skip to content

Commit

Permalink
Allow comments in HTML filtering.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenmcd committed Jul 20, 2012
1 parent 34a84bf commit 18ff962
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mezzanine/core/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def clean(self, value, model_instance):
except ImportError:
return value
else:
return clean(value, tags=tags, attributes=attrs, strip=True)
return clean(value, tags=tags, attributes=attrs, strip=True,
strip_comments=False)


class MultiChoiceField(models.CharField):
Expand Down

0 comments on commit 18ff962

Please sign in to comment.