public: don't display 'None' for unconfigured text cells
This commit is contained in:
parent
e1c198794b
commit
370d678625
|
@ -54,7 +54,7 @@ class TextCell(CellBase):
|
|||
|
||||
def render(self):
|
||||
from django.utils.safestring import mark_safe
|
||||
return mark_safe(self.text)
|
||||
return mark_safe(self.text or '')
|
||||
|
||||
|
||||
class FortuneCell(CellBase):
|
||||
|
|
Loading…
Reference in New Issue