emacs-vs / auto-rename-tag

Automatically rename paired HTML/XML tag.
GNU General Public License v3.0
38 stars 10 forks source link

self-closing tags are not always respected #4

Closed aaronjensen closed 4 years ago

aaronjensen commented 5 years ago

React code is capable of having some confusing stuff like tags inside a prop. If you change the top WhenRole here, it will change the bottom one as well.

    <WhenRole
      render={() => (
        <li>
          test
        </li>
      )}
    />
    <WhenRole />
jcs090218 commented 4 years ago

This issue should resolved by this commit b09d54a212f1554ba3fb21709902f618b07b5b46

jcs090218 commented 4 years ago

I will close this issue for now, feel free to open this if you still encounter this issue! :)