Maybe this is not possible but I wonder if I can embed a line break in a string I pass to MatDialogComponent displayed on a form via {{ }}
I designed a simple WarningDialogComponent that has params for title, message, OK and cancel button text.
The message text is displayed inside the template
<mat-dialog-content>
{{message}}
</mat-dialog-content>
This works fine except if I want the message to be have defined line breaks, something like:
You are about to delete account 'Electricians'
This cannot be undone!
I tried using backtic quotes, or \n\n embedded in message and I know html is normally escaped. Of course I could redesign my form, or instruct it to render embedded html, but was hoping there is a simple way to somehow put a line break in the string contained in the message variable that would work without a having to tinker with the component itself.