call the function force_text with an argument bf.label, use the result as an argument for the call to the function conditional_escape, substitute the result label.
label = conditional_escape ( force_text ( bf . label ) )