replace bracket with HTML code in Maze editor legend text (fix html parsing warning)