How to prevent script injection with angularJS $sce?

后端 未结 0 1629
死守一世寂寞
死守一世寂寞 2021-01-15 18:02

I have input where user can insert some text or some html. To display that text/html I use angular js $sce.

$scope.headerHtml = $scope.formControl.label; <         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题