bug(MatTooltip): Multiline mat-tooltip on mat-table cell is not working
Reproduction
StackBlitz: https://stackblitz.com/edit/angular-4mtwsw Steps to reproduce:
- Open a stackblitz and hover over on 'No.'(Number) column of table
- you will see that, tooltip is not break on second line.
Expected Behavior
- It should break in second line.
Actual Behavior
- Its working for button and span but not on mat-table cell.
Environment
- Angular: 8.2.14
- CDK/Material: 8.2.14
- Browser(s): Chrome (84.0.4147.105)
- Operating System (e.g. Windows, macOS, Ubuntu): Windows

What I find odd here is that it even breaks into multiple lines for the button and span cases, because I wouldn't have expected it to since we only support plain text for tooltips. My guess is that Angular automatically converts the HTML entities into new line characters and it just happens to work.
Well, I have added class at global level to break it on next line. But as I mentioned, same is not working for mat-cell.
.mat-tooltip-class-here {
white-space: pre-line !important;
}
There is inconsistency in terms of new line chars.
For the button and span works as new line but for the table cell, we might need to use \r\n or \n.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.