You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
version of angular-translate: 2.15.2
version of angular: 1.3.14
which browser and its version: Google Chrome 61.0.3163.100
Steps to reproduce
add a translate filter to the title attribute of an element with multiple lines. <td title="{{'some text some more text in a new line' | translate}}">
Expected behaviour
The title-tooltip should be shown and contain a newline. Content should look like this:
some text some more text in a new line
Actual behaviour
Instead the tooltip content looks like this:
some text some more text in a new line
Notes
Using the without the translate filter like below works fine for me: <td title="some text some more text in a new line">
The text was updated successfully, but these errors were encountered:
Subject of the issue
translate filter does not show as newline.
Your environment
version of angular-translate: 2.15.2
version of angular: 1.3.14
which browser and its version: Google Chrome 61.0.3163.100
Steps to reproduce
add a translate filter to the title attribute of an element with multiple lines.
<td title="{{'some text some more text in a new line' | translate}}">
Expected behaviour
The title-tooltip should be shown and contain a newline. Content should look like this:
some text
some more text in a new line
Actual behaviour
Instead the tooltip content looks like this:
some text some more text in a new line
Notes
Using the without the translate filter like below works fine for me:
<td title="some text some more text in a new line">
The text was updated successfully, but these errors were encountered: