Incorrect indentation on line starting with
See original GitHub issueLinting a template with a segment like the following incorrectly flags the indentation:
{{#if foo}}
bar
{{/if}}
with
block-indentation: Incorrect indentation for ` bar
` beginning at L2:C0. Expected ` bar
` to be at an indentation of 2 but was found at 3. (thedyrt-ui/templates/components/at-trip):
`{{#if foo}}
bar
{{/if}}`
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
indentation error ??? | Codecademy
I keep getting this error no matter what I do. If i leave everything blank it works great but then what have I...
Read more >Tab space instead of multiple non-breaking spaces ("nbsp")?
It depends on which character set you want to use. There's no tab entity defined in ISO-8859-1 HTML - but there are a...
Read more >Non-Breaking Space in HTML
In HTML coding, the non-breaking space is a character entity which can: create white space between words or web page elements; stop the...
Read more >I can't post my question because of the "indentation"! How do I ...
For lines that you want to be flush up against the margin, you indent by 4 spaces. Like so: int foo();. Then you...
Read more >359303 - Non-breaking spaces (nbsp) not copied as such
Reproducible: Always Steps to Reproduce: 1. Copy text containing a non-breaking space character ( or UTF-8 0xA0) to the clipboard. 2. Paste into...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We can fix it now! We need to update our usage of @glimmer/compiler to use the new
mode: 'codemod'
and it will opt-out of converting HTML entities to their underlying thing.See https://github.com/glimmerjs/glimmer-vm/pull/938 for background on that new parsing mode.
Confirmed that it’s still happening on the latest version and submitted failing tests in #184.