KEMBAR78
Remove group node to avoid extra newline and indent by ramya-rao-a · Pull Request #3 · emmetio/abbreviation · GitHub
Skip to content
This repository was archived by the owner on Aug 21, 2019. It is now read-only.

Conversation

ramya-rao-a
Copy link
Contributor

Grouped abbreviations get expanded with an extra indent and a new line at the beginning
Example:
(ul>li)*2 gets expanded to


       <ul>
            <li></li>
       </ul>
       <ul>
            <li></li>
       </ul>

instead of

<ul>
     <li></li>
</ul>
<ul>
     <li></li>
</ul>

This is due to the group node.
I tried to update the markup-formatter module to ignore the group node.
But it got too messy.
So I propose to fix it in the abbreviation model itself.

@ramya-rao-a
Copy link
Contributor Author

cc @sergeche

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants