[英]ngSantize not working correctly with ng-bind-html
ngSantize not working right now, <ul ng-bind-html="{{group.content}}"></ul>
is blank when there should be content in there. ngSantize 现在不工作,
<ul ng-bind-html="{{group.content}}"></ul>
当应该有内容时是空白的。 When you open Dynamic Group Header - 2 it should say当您打开 Dynamic Group Header - 2 时,它应该说
But it's blank.但它是空白的。 What am I doing wrong here?
我在这里做错了什么?
Here's a plunkr: http://plnkr.co/edit/SOFFK6cdianFADhoWoIJ?p=preview这是一个 plunkr: http ://plnkr.co/edit/SOFFK6cdianFADhoWoIJ?p=preview
ng-bind-html
需要一个表达式,所以这应该是
<ul ng-bind-html="group.content"></ul>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.