misc: don't crash rendering a text cell without content (#33227)
This commit is contained in:
parent
9aaa49f523
commit
43f25b588f
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue