Commit 408e7c18 authored by Aron Carroll's avatar Aron Carroll

URL escape tags in search terms

parent 4f1a91be
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
ng-if="vm.annotation.tags.length && !vm.editing"> ng-if="vm.annotation.tags.length && !vm.editing">
<ul class="tag-list"> <ul class="tag-list">
<li class="tag-item" ng-repeat="tag in vm.annotation.tags"> <li class="tag-item" ng-repeat="tag in vm.annotation.tags">
<a href="/stream?q=tag:'{{tag.text}}'" target="_blank">{{tag.text}}</a> <a href="/stream?q=tag:'{{tag.text|urlencode}}'" target="_blank">{{tag.text}}</a>
</li> </li>
</ul> </ul>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment