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

Indentation error for JSX fragment

Open jcubic opened this issue 9 months ago • 1 comments

There is an error in indentation:

function App() {
  return (
    <>
      <a href="https://example.com">
        <img/>
      </a>
    <div>
    </div>
    </>
  );
}

The <div> is not indented the same as <a> and closing fragment is not in color:

Przechwycenie obrazu ekranu_2024-05-18_19-03-43

jcubic avatar May 18 '24 17:05 jcubic