-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XSL self-closing tags not expanding properly #37
Comments
Note to self: this issue should be fixed after migrating to the latest Emmet |
It seems that in latest Insiders it still expands to |
True. I'll currently leave that part as a wontfix, but I'll keep the issue open now that I realized:
|
Duplicate of microsoft/vscode#120203 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As an example, for XSL files,
cp
should expand to<xsl:copy select="|" />
, but right now it expands to<xsl:copy select="|">|</xsl:copy>
.This issue occurs for two reasons:
expand-full.js
, we have the mapping"cp": "xsl:copy[select]"
, without the/
at the end. Therefore, the expander interprets the tag as one with content in between./
is added to the end, the XSL content is interpreted as HTML and expands to<xsl:copy select="|">
, which is not a valid self-closing tag within XSL.The text was updated successfully, but these errors were encountered: