My AngularJS directive includes the replace: true
and
template: <span style="color: red;"></span>
properties. However, when I use this directive in my code, it appears that the style
attribute is duplicated in the rendered HTML: <span style="color: red;;color: red;"></span>
. Is this a known issue with AngularJS, or am I overlooking something?
You can see the problem demonstrated in this Plunk: http://plnkr.co/edit/UMhmjGS3XW84d7zctujo