Fix newlines in html5head template, add test code, and adapt readme rendu.