bug(material/list): Whitespace before the content in list in v15
- Dominant language
- TypeScript
- Stars
- 25k
- Forks
- 6.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 91
Description
### Is this a regression?
Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
v14
### Description
In your html template, if you break line, a blank space will render inside the content of your list item line.
### Actual Behavior



---------
#### This Works, but my prettier configuration doesn't allow it



### Environment
- Angular: v15
- CDK/Material: v15
- Browser(s): Chrome
Contributor guide
Research direction
Start by reproducing the Angular Material list case from the issue: place the list item's content on a new line in an Angular v15 template and compare the rendered whitespace with v14. Done means the line break no longer creates an unwanted leading space while the documented formatting remains usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100