Stop extendTemplate work if no html is provided