Skip to content
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

Bug: Custom snippets with $ aren't expanded properly with repeater #686

Open
rzhao271 opened this issue Aug 1, 2022 · 0 comments
Open

Comments

@rzhao271
Copy link
Contributor

rzhao271 commented Aug 1, 2022

Steps

  1. Define the HTML snippet "test": "(div>div.aaa{$}+div.bbb{$})"
  2. Expand test*2

Expected result

<div>
	<div class="aaa">1</div>
	<div class="bbb">1</div>
</div>
<div>
	<div class="aaa">2</div>
	<div class="bbb">2</div>
</div>

This is the same as (div>div.aaa{$}+div.bbb{$})*2

Actual result

<div>
	<div class="aaa">1</div>
	<div class="bbb">1</div>
</div>
<div>
	<div class="aaa">1</div>
	<div class="bbb">1</div>
</div>

Downstream issue microsoft/vscode#65904

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant