Skip to content

Vue self-closing tags cause double-printing #3692

@azz

Description

@azz

Was running vue on gitlabhq and ran into this:

Input:

<script>
</script>

<template>
  <br />
</template>

Output:

<script>
</script>

<template>
  <br />
</template><script>
</script>

<template>
  <br />
</template>

/cc @vjeux

Metadata

Metadata

Assignees

Labels

lang:vueIssues affecting Vuelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.priority:highCode is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions