Fix invalid html in upload form