phoenixframework / vscode-phoenix

Syntax highlighting support for Phoenix templates in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=phoenixframework.phoenix
MIT License
157 stars 10 forks source link

Tag does not close properly #2

Closed mad42 closed 2 years ago

mad42 commented 2 years ago

Hello ! I've encountered an issue closing a tag in vscode when the extension is enabled on .html.heex files

demo video

here is the code used:

<div class="items">
  <ol>
    <li>
      <span>Question A</span>
      <ol>
        <li>Response A</li>
        <li>Response B</li>
        <li>Response C</li>
      </ol>
    </li>
    <li>
      <span>Question B</span>
      <ol>
        <li>Response A</li>
        <li>Response B</li>
        <li>Response C</li>
      </ol>
    </li>
    <li>
      <span>Question C</span>
      <ol>
        <li>
          <span class="sub-item">Subquestion A</span>
          <ol>
            <li>Subresponse A</li>
            <li>Subresponse B</li>
            <li>Subresponse C</li>
          </ol>
        </li>
        <li>
          <span class="sub-item">Subquestion B</span>
          <ol>
            <li>Subresponse A</li>
            <li>Subresponse B</li>
            <li>Subresponse C</li>
          </ol>
        </li>
      </ol>
    </li>
  </ol>
</div>
joshchernoff commented 2 years ago

I can't reproduce

this is what I'm running. Screenshot_2021-09-21_14-28-26

Maybe ensure no other plugins are interfering.