【发布时间】:2016-08-29 19:01:20
【问题描述】:
我使用 angular-ui-bootstrap 的 0.14.2 版本。我无法在弹出窗口中显示换行符。 我使用 popover-html 指令和一个字符串,例如
Limite inférieure<br>Limite supérieure
它给出了以下错误:
Lexer Error: Unexpected next character at columns 41-41 [é] in expression [<div>Approchant des limites<br>Limite supérieure: 34:12<br>Limite inférieure: -34:12</div>].
我尝试将我的字符串包装在 $sce.trustAsHtml 调用中,但它没有改变任何东西。
【问题讨论】:
标签: angularjs angular-ui-bootstrap