misc: don't crash rendering a text cell without content (#33227)

This commit is contained in:
Frédéric Péters 2019-05-18 09:36:45 +02:00
parent 9aaa49f523
commit 43f25b588f
1 changed files with 1 additions and 1 deletions

View File

@ -753,7 +753,7 @@ class TextCell(CellBase):
def get_cell_extra_context(self, context):
extra_context = super(TextCell, self).get_cell_extra_context(context)
text = self.text
text = self.text or ''
render_skeleton = context.get('render_skeleton')
def sub_variadic_url(match):