fix indentation and add some extra HTML