Steps to reproduce
- Copy-paste this snippet into ST3 and set the syntax as XSL:
[code]<xsl:stylesheet version=“1.0” xmlns:xsl=“http://www.w3.org/1999/XSL/Transform”>
<xsl:template match=“pattern”>
<xsl:if test="*">
<xsl:value-of select=“Expression”/>
</xsl:template>
</xsl:stylesheet>[/code]
-
Place your cursor after the <xsl:value-of select=“Expression”/> tag.
-
Choose Edit > Tag > Close Tag or press Alt + . (on Windows).
Expected behavior
ST3 closes the xsl:if tag.
Actual behavior
ST3 closes the (already self-closed) xsl:value-of/ tag.
Is there any way to fix this? I think the Tag package may have fixed this problem for ST2, but it doesn’t seem to work with ST3.