def field_from_native(self, data, files, field_name, into):
     super().field_from_native(data, files, field_name, into)
     into["comment_html"] = mdrender.render(self.context['project'], data.get("comment", ""))
Exemple #2
0
 def field_from_native(self, data, files, field_name, into):
     super().field_from_native(data, files, field_name, into)
     into["comment_html"] = mdrender.render(self.context['project'], data.get("comment", ""))