emmet-mode icon indicating copy to clipboard operation
emmet-mode copied to clipboard

Insert rel="stylesheet" before href attribute

Open dunmaksim opened this issue 8 years ago • 1 comments

After expanding link expression emmet-mode insert strings with href attribute at first place:

<link href="/static/bootstrap/dist/bootstrap.css" rel="stylesheet"/>
<link href="/static/font-awesome/dist/font-awesome.css" rel="stylesheet"/>

IMHO, rel at first place is better for understanding and code reading:

<link rel="stylesheet" href="/static/bootstrap/dist/bootstrap.css" />
<link rel="stylesheet" href="/static/font-awesome/dist/font-awesome.css"/>

dunmaksim avatar Aug 22 '16 19:08 dunmaksim

I know this has sat for some time - sorry about that - @dunmaksim, can you provide the expression you expanded to get this, just so it's easier for me to find the code where it's defined?

pobocks avatar Nov 10 '16 13:11 pobocks