Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bug: Abbreviations with unbalanced brackets inside text node don't get extracted #5

Closed
devanshj opened this issue Sep 27, 2019 · 1 comment

Comments

@devanshj
Copy link

devanshj commented Sep 27, 2019

import extract from "@emmetio/extract-abbreviation";

console.log(extract('foo div{[}+a{}'));
// actual: { abbreviation: "}+a{}", ... }
// expected: { abbreviation: "div{[}+a{}", ... }

StackBlitz for above

Related: emmet #568, vscode-emmet-helper #31
/cc @octref

Also I suspect @emmetio/extract-abbreviation (this repo) is latest as compared to emmet/extract-abbreviation, hence filing and fixing here.

@devanshj devanshj mentioned this issue Sep 27, 2019
@devanshj
Copy link
Author

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

Successfully merging a pull request may close this issue.

1 participant