Skip to content

Colon is missing when using in Vue templates #78

Description

🐛 Bug Report

Colon is missing when using special scenes in Vue templates

To Reproduce

Steps to reproduce the behavior:

<div id="app">
  <prism-editor :xlink:href="'myHref'" />
</div>

Expected behavior

<div id="app">
  <prism-editor :xlink:href="'myHref'"/>
</div>

Actual result

<div id="app">
  <!-- : before xlink is missing here -->
  <prism-editor xlink:href="'myHref'"/>
</div>

Context

  • Angular
  • Svelte
  • Vue
  • Riot
  • HTML5 only

Your Environment

  • Prettyhtml version: https://prettyhtml.netlify.com/ OR vetur (vs code plugin "vetur.format.defaultFormatter.html": "prettyhtml")
  • NodeJs version:
  • Environment name and version:
  • Operating System and version:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions