Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

Remove group node to avoid extra newline and indent #3

Merged
merged 1 commit into from
Jul 31, 2017

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