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

Custom attributes not expanding in Emacs 26.1 / Release 1.0.8 #103

Open
nevetS opened this issue May 31, 2018 · 1 comment
Open

Custom attributes not expanding in Emacs 26.1 / Release 1.0.8 #103

nevetS opened this issue May 31, 2018 · 1 comment

Comments

@nevetS
Copy link

nevetS commented May 31, 2018

I have installed emmet-mode from the git repo using tag 1.0.8

square brackets do not expand when editing html documents.

From the readme:
b[x] should expand to <b x=""></b>

What I get instead is <b></b>. If I try to include anything after the [x], it still only produces <b></b>

For instance:
b>c expands to <b><c></c></b>

but:
b[x]>c only expands to <b></b>

It seems like the square brackets are silently seen as an error and processing stops from there.

GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
of 2018-05-21

➜ emmet-mode git:(bf76d71) git status
HEAD detached at 1.0.8
nothing to commit, working tree clean

It looks like this problem is fixed in the current git version, but when using that, the preview functionality no longer works - which I found quite helpful as a new user.

@Timmymayes
Copy link

This is working for me atm such that b[x=test]>c expands to <b x="test"><c></c></b>

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

2 participants