[mvc/controller] Trim off new lines & line breaks before parsing html.