compulim / vscode-closetag

Quickly close last opened HTML/XML tag in Visual Studio Code
14 stars 5 forks source link

When a tag span across multiple lines, the close tag is incorrect #1

Closed compulim closed 8 years ago

compulim commented 8 years ago

Content

<head>
  <style>
  ...
  </style>
  /* Put the cursor here */
</head>

Expected

When close tag at the cursor, it should insert </head>.

Actual

It inserted </style>.