core icon indicating copy to clipboard operation
core copied to clipboard

feat(compiler): recover parser from incomplete open tag

Open znck opened this issue 4 years ago • 1 comments

<div>
  <div |
</div>

and

<div |
<div></div>

are the most common error state when editing <template>. This PR processes these partial/incomplete tags as self-closing elements. Parsing these tags as elements is important as node type is used in VueDX to provide completion.

znck avatar Dec 23 '20 04:12 znck