feature #1664: Remove empty lines between attributes when showing templates