-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
π Bug Report
Whitespace in innerHTML is not preserved.
To Reproduce
When you format this:
<template>
<div id="app">
<div id="nav">
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link>
</div>
<router-view />
</div>
</template>
Expected behavior
The space after Home</router-link> should be preserved.
<template>
<div id="app">
<div id="nav">
<router-link to="/">Home</router-link>|
<router-link to="/about">About</router-link>
</div>
<router-view/>
</div>
</template>
Context
- Angular
- Svelte
- [x ] Vue
- Riot
- HTML5 only
Your Environment
- Prettyhtml version:
- NodeJs version: 10.15.1
- Environment name and version: VS Code1.30.2
61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8
x64 - Operating System and version: Windows
mgrybyk
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed