question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Option to not put a space before /> in self-closing tags

See original GitHub issue

i prefer class=""/> over class="" />

Issue Analytics

  • State:open
  • Created 9 years ago
  • Reactions:6
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
anupamamnaircommented, Jun 28, 2022

Hi @bitwiseman , I’m new to open source and i would like to contribute to this issue.

0reactions
anupamamnaircommented, Jun 29, 2022

Sure. I just want to get a clarity on the expected result.

Is a new option to enable/disable space before /> for self-closing tags expected?

Something like this new option for UI as in attached image -->

Screenshot 2022-06-29 at 12 52 26 PM

Kindly confirm…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add space in self closing tags before in self closing tags
Enable the setting "In empty tag" in Preferences -> Editor -> Code Style -> HTML. When you do an explicit reformat the space...
Read more >
Option to keep space space before closing tag : WEB-22287
Checking that option doesn't work as expected, because it adds spaces before every closing bracket. ... so In empty tag option works like...
Read more >
Avoid space before slash of self closing Xml element - MSDN
I have requirement to not to generate space that appears before slash of self closing element. Following code reads a xml file and...
Read more >
VS/Nuget inconsistently add/don't add a space before closing ...
VS/Nuget inconsistently add/don't add a space before closing tags in project ... have or not have this space before the closing tag (for...
Read more >
Why do you require space before closing tag slash?
In this exercise you must have a space before the closing slash on the img tag: ... code and get no details about...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found