Bpmn highlight issues(graduate project! help!)

I want to test my function for highlight in bpmn
图片
图片
but it doesn’t work,can anyone help
and elementid is correct

Your HTML looks malformed (missing content, missing end tag).

Also I’m not sure what $ returns. The html attribute expects a string.