In Angular while using translate pipe I provide string to it to get the result message for my validation service. And it worked fine for me until I needed message with underline text. And I thought it'd be nice to work with html instead of simple text. So how can I do it without changing any css or adding logic ?
<div class="field-error text-small"
*ngIf="showMessage">
{{ errorMessage | translate }}
</div>
The string I need to provide: "The e-mail or password is incorrect. <u>Have you forgotten your password?</u>"