Comments (3)
That is correct. This unfortunate issue is mentioned in the README. The only workaround for now is to put comments on their own line. (Sorry!)
from htmlbeautify.
Ahh cool. HTMLPrettify puts the comments on their own line for me BUT it also goes too far sometimes with doing the same for other tags i've inlined. My nice little html chunks end up expanded down the page (technically i guess this is correct but realistically it makes it harder to read).
I like HTMLBeautify because it doesn't mess with my code too much. Looking forwards to your update. Thanks of the hard work.
from htmlbeautify.
You might try experimenting with the custom settings and adding your own tags as inline tags, etc. and see if that helps. :) Thanks for the kind words! If there any other scripting experts out there who have any ideas on tackling the inline comment issue, I am open to incorporating the edits to the script!
from htmlbeautify.
Related Issues (20)
- Concataned HTML chunk (no spaces, no end-lines) is not beautifed HOT 4
- Beautify on Save possible? HOT 1
- Refact problem HOT 2
- Best way to handle mixed content with PHP HOT 3
- Last character is deleted when indenting HOT 1
- Attribute indentation depth configuration? HOT 2
- SVG indentation seems wrong HOT 4
- Unbind shortcut HOT 1
- Colgroup and Caption HOT 1
- tag_raw_flat options bug
- custom tags HOT 5
- Custom indentation HOT 3
- cursor jump on formating
- Cripplingly slow performance on large HTML files HOT 7
- HTML comments after tags causes indent to not work properly HOT 1
- beautify on save? HOT 1
- File being saved as filename.pretty.html HOT 1
- Doesn't change anything in the open file HOT 4
- Formating aplly on php files too.
- <pre> tags march right with each reformat HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from htmlbeautify.