+ self.fields['publishable'].initial = self.chunk.head.publishable
+
+ def clean_text(self):
+ text = self.cleaned_data.get('text', '')
+ # remove_empty_elements returns None on SyntaxError or when there's no change
+ return remove_empty_elements(text) or text