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