Вопрос

I have a problem with my AngularJS webapp only with Safari iOS7 browser. My code looks like this:

<p ng-bind-html="currentPage.summary"></p>

And inside $scope.CurrentPage.summary I have loaded a HTML fragment like this:

$scope.CurrentPage.summary = '<strong>The bold or em texts</strong> appears 2 times only with Safari iOS7 browser';

Is this an Angular bug? Or I have made something wrong?

You can see this problem in action (production environment) here: http://riure.lopati.cat/#/1/es

All browsers renders the strong text ("Superioridad Vs Inferioridad") only 1 time except Safari iOS7.

Thanks.

Это было полезно?

Решение

This is an AngularJS bug that it was fixed with v1.2.4+

Bug reference at GitHub.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top