Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #730 from GeotrekCE/fix_sensitivity_bin_html
Browse files Browse the repository at this point in the history
Add ng-bind-html on sensitive informations
  • Loading branch information
LePetitTim authored Oct 3, 2019
2 parents f786476 + 0c35fa8 commit 4e48a40
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/app/detail/templates/detail-sensitives.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ <h3>{{'SENSITIVE_ZONE' | translate}}</h3>
{{month}}
</span>
</div>
<p ng-if="sensitive.contact" class="contact">
{{'CONTACT' | translate}} : {{sensitive.contact}}
</p>
<p ng-if="sensitive.description">
{{sensitive.description}}
<p class="contact" ng-if="sensitive.contact">{{'CONTACT' | translate}} :
<span class="contact" ng-if="sensitive.contact" ng-bind-html="sensitive.contact | sanitizeData: true"></span>
</p>
<p ng-if="sensitive.description" ng-bind-html="sensitive.description | sanitizeData: true"></p>
<p ng-if="sensitive.species_url">
<a href="{{sensitive.species_url}}" target="_blank">{{'SHOW_MORE' | translate}}</a>
</p>
Expand Down

0 comments on commit 4e48a40

Please sign in to comment.