Reformat HTML components' code