Fix HTML output indentation
Move require-hm to a component