Fix file download not work because script tag break line in html file