added HTML unescaping to the ud command