fix(tabs): remove leading newline from a template

This messes up jquery's parsing of the template

Closes #2200
Fixes #2106