1) use library name, not index
2) break up HTML lines so puytnon MINE doesn't break on tag boundaries