Skip to content

Commit

Permalink
feat(geoname + uri): add rel attribute for security (#207)
Browse files Browse the repository at this point in the history
Co-authored-by: flaurens <flavie.laurens@unibas.ch>
  • Loading branch information
flavens and flaurens committed Oct 8, 2020
1 parent 6433657 commit c76029a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -1,6 +1,6 @@
<span *ngIf="mode === 'read'; else showForm" class="read-mode-view">
<span class="rm-value">
<a class="link" target="_blank" href="https://www.geonames.org/{{valueFormControl.value}}">{{ label ? label : valueFormControl.value}}</a>
<a class="link" target="_blank" rel="noopener" href="https://www.geonames.org/{{valueFormControl.value}}">{{ label ? label : valueFormControl.value}}</a>
</span>
<span class="rm-comment" *ngIf="shouldShowComment">
{{ commentFormControl.value }}
Expand Down
@@ -1,6 +1,6 @@
<span *ngIf="mode === 'read'; else showForm" class="read-mode-view">
<span class="rm-value">
<a class="link" target="_blank" href="{{valueFormControl.value}}">{{ label ? label : valueFormControl.value}}</a>
<a class="link" target="_blank" rel="noopener" href="{{valueFormControl.value}}">{{ label ? label : valueFormControl.value}}</a>
</span>
<span class="rm-comment" *ngIf="shouldShowComment">{{commentFormControl.value}}</span>
</span>
Expand Down

0 comments on commit c76029a

Please sign in to comment.