Fix manifest attribute only added to first html tag

Fix #1