bug(material/list): Whitespace before the content in list in v15
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 91
描述
### 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
贡献指南
调研方向
首先复现 issue 中的 Angular Material 列表示例:在 Angular v15 模板中将列表项的内容放到新的一行,并将渲染出的空白与 v14 进行比较。当换行不再产生不需要的前导空格,同时文档中的格式仍可使用时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100