Comments (7)
from brackets-beautify.
I have the same problem with this line
<div class="shipping">about <b>$196</b> with shipping</div>
turning into
<div class="shipping">about
<b>$196</b>with shipping</div>
after beautification.
from brackets-beautify.
Please pull version from the repository and add .jsbeautifyrc to your project root.
Then paste this in there.
{
"indent_size": 4,
"indent_char": " ",
"indent_level": 0,
"indent_with_tabs": false,
"preserve_newlines": true,
"max_preserve_newlines": 10,
"jslint_happy": false,
"brace_style": "collapse",
"keep_array_indentation": false,
"keep_function_indentation": false,
"space_before_conditional": true,
"break_chained_methods": false,
"eval_code": false,
"unescape_strings": false,
"wrap_line_length": 0,
"unformatted": ["b", "span", "i"]
}
The important part is the unformatted section. This will fix your issue.
Also note that the command changed Ctrl + Shift + L. If your on Mac it's Cmd + Shift + L. Thanks
from brackets-beautify.
Thanks for the workaround. When will this be updated in the plugin?
from brackets-beautify.
This is live in the plugin repository. I'm closing unless we need to open again. Thanks!
from brackets-beautify.
The problem is still occurring for me, I just tried the sprint 38 release, the plugin from the repository and the .jsbeautifyrc
most rewarding way gets turned into
"most
<b>rewarding</b>way"
from brackets-beautify.
I'm sorry, I had a regression somewhere. Please check the new version of the extension in the registry.
from brackets-beautify.
Related Issues (20)
- Mapping Nunjucks (njk) to HTML HOT 1
- Extra space added at the end of the tag HOT 3
- brackets-beautify inserts a space in import(...) HOT 1
- not beautifying certain tags in html HOT 2
- SVG file seems to be ignored HOT 1
- Annoying space char HOT 1
- Error SAVE BEAUTIFY in ASP HOT 5
- Beautifier is breaking css urls HOT 2
- Move brackets-beautify to beautifier github org HOT 1
- HTML inside JS in an HTML document break when formatted during Live Preview HOT 8
- Beautify inserts space before exclamation mark in comment <!-- in <style> HOT 2
- Brackets Beautify scrambles IIFE style JS code HOT 2
- php variable inside a js script is being formatted HOT 4
- Can't beautify php HOT 3
- Feature request: python formatting HOT 1
- Preserve Tab Spacing inside tags HOT 1
- JSX support HOT 7
- Extra space added in nullish coalescing operator (??) for javascript HOT 8
- No line break on beautify for XML element if tag name is 'code' HOT 1
- How to download the extension as a zip
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 brackets-beautify.