forked from indymedia/epicyon
Check for string
parent
ceb9486c5d
commit
4a1bc53e59
|
@ -5253,6 +5253,8 @@ def htmlHighlightLabel(label: str, highlight: bool) -> str:
|
||||||
"""
|
"""
|
||||||
if not highlight:
|
if not highlight:
|
||||||
return label
|
return label
|
||||||
|
if not isinstance(label, str):
|
||||||
|
return label
|
||||||
return '*' + label + '*'
|
return '*' + label + '*'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue