Added transformation of < and > and " to html entities for labels