[fix] added tags for cleaner output code

Mainly \n, spaces. In case of footnotes, it would be better to number them starting with 1.