HTML content formating
Split into functions, put into module