-
Notifications
You must be signed in to change notification settings - Fork 3
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
Beautify on save duplicates markup in live preview #14
Comments
This happens for me too! It also happens when I press ctrl+alt+b. It does not always happen, but very often. I can't seem to pin down exactly when. I am running Windows 7 and the last official Brackets Release 1.4 build 1.4.0-16380 (release 273804eb3) and Chrome Version 45.0.2454.101 m. Really hope this can get fixed as it's making this amazing extension unusable at the moment. |
For the Beautify-On-Save functionality I have used a similar approach as MiguelCastillo's Brackets-wsSanitizer, but that extension does not seem to have this issue. |
Great news, good luck! |
After searching through my code for a long time and not finding anything, I decided to check if this had been reported with Brackets itself. I will see if I can find a workaround, but in the worst case, I would just disable Beautify-On-Save on html files when live preview is enabled. |
I think I have found a work-around: If the LivePreview is active, only beautify content inside |
Yes, I tried it works perfectly @Hirse! With version 2.2 |
Great |
When "Beautify on save" is enabled, the markup is displayed twice in the live preview when saved.
To recreate:
Screencast:
Youtube link
Screenshot:
![Example](https://cloud.githubusercontent.com/assets/2440729/10329803/8a540214-6d11-11e5-8a47-5979c9cc10ea.png)
The text was updated successfully, but these errors were encountered: