changed ng-bind-html-unsafe to ng-bind-html

This commit is contained in:
Mads Rasmussen
2018-05-29 13:33:26 +02:00
parent c86e2b3031
commit 7a85a82094
6 changed files with 7 additions and 7 deletions

View File

@@ -7,7 +7,7 @@
<umb-control-group>
<p ng-bind="model.embed.info"></p>
<div ng-bind-html-unsafe="model.embed.preview"></div>
<div ng-bind-html="model.embed.preview"></div>
</umb-control-group>
<div ng-show="model.embed.supportsDimensions">

View File

@@ -19,7 +19,7 @@
<!-- Controls -->
<div ng-repeat="control in area.controls" class="dash-control dash-control-{{control.alias}}">
<div class="dash-inner-control">
<div ng-bind-html-unsafe="control.html"></div>
<div ng-bind-html="control.html"></div>
</div>
</div>
<!-- Controls end -->

View File

@@ -128,7 +128,7 @@
<div class="umb-info-local-item">
<strong><localize key="packager_packageReadme">Read me</localize></strong>
<br>
<small ng-bind-html-unsafe="vm.localPackage.readMe"></small>
<small ng-bind-html="vm.localPackage.readMe"></small>
</div>
<div class="umb-info-local-item mt4 flex items-center flex-column" ng-if="vm.installState.status == '' && vm.localPackage.isCompatible">

View File

@@ -131,7 +131,7 @@
<div class="umb-packages-view-title">{{ vm.package.name }}</div>
<div class="umb-package-details__description" ng-bind-html-unsafe="vm.package.description"></div>
<div class="umb-package-details__description" ng-bind-html="vm.package.description"></div>
<div class="umb-gallery">
<div class="umb-gallery__thumbnails">
@@ -319,7 +319,7 @@
<div class="umb-info-local-item">
<strong><localize key="packager_packageReadme">Read me</localize></strong>
<br>
<small ng-bind-html-unsafe="vm.localPackage.readMe"></small>
<small ng-bind-html="vm.localPackage.readMe"></small>
</div>
<div class="umb-info-local-item mt4 flex items-center flex-column" ng-if="vm.installState.status == '' && vm.localPackage.isCompatible">

View File

@@ -5,7 +5,7 @@
<div class="help-text"><localize key="grid_clickToEmbed">Click to embed</localize></div>
</div>
<div ng-if="control.value" ng-bind-html-unsafe="control.value"></div>
<div ng-if="control.value" ng-bind-html="control.value"></div>
<umb-overlay
ng-if="embedDialog.show"

View File

@@ -8,7 +8,7 @@
<div ng-if="preview">
<div
ng-if="preview" style="text-align: left; pointer-events: none; cursor: default;"
ng-bind-html-unsafe="preview">
ng-bind-html="preview">
</div>
</div>
</div>