GTNWCM-36 Support for self-closing wcm tags in templates editor