Skip to content

vue templates - pre tags single quotes dont get changed to double quotes #5398

@trainiac

Description

@trainiac

Prettier 1.15.1
Playground link

--parser vue

Input:

<template>
<pre class='woot'>
  {{ stuff }}
  </pre>
</template>

Output:

<template>
  <pre class='woot'>
  {{ stuff }}
  </pre>
</template>

Expected behavior:

<template>
  <pre class="woot">
  {{ stuff }}
  </pre>
</template>

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:htmlIssues affecting HTML (and SVG but not JSX)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions