Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content inside <template> element no longer formatted in release : 0.29.11 #1170

Closed
4 tasks done
jfletcher-nuxeo opened this issue Sep 2, 2016 · 2 comments
Closed
4 tasks done
Assignees
Milestone

Comments

@jfletcher-nuxeo
Copy link

jfletcher-nuxeo commented Sep 2, 2016

Description

The results of beautification are not what I expect. Source:

<i
/>
  <template>
    <i
    />
</template>

Expected Results

The beautified code should have looked like:

<i />
<template>
    <i />
</template>

Steps to Reproduce

  1. Add code to Atom editor
  2. Run command Atom Beautify: Beautify Editor
  3. This beautified code does not look right!

Debug

Here is a link to the debug.md Gist: https://gist.github.com/94f9ebc281dd0ab6945b56e413d8212f

Checklist

  • I have tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
  • I have reloaded (or restarted) Atom to ensure it is not a caching issue
  • Searched for existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
    so I know this is not a duplicate issue
  • Generated debugging information and added link for debug.md Gist to this issue
@valdrinkoshi
Copy link

A workaround to this is use Pretty Diff as Default Beautifier (Atom Settings -> Packages -> Atom Beautify -> HTML -> Default Beautifier)

@Glavin001 Glavin001 added this to the v0.30.0 milestone Sep 15, 2016
@Glavin001
Copy link
Owner

Pretty Diff for the win! Thanks for letting us know @valdrinkoshi.

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

No branches or pull requests

4 participants