updates triangle to html entity