Skip to content

Commit

Permalink
Escape HTML in vomnibar tab URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Rissanen committed Mar 2, 2014
1 parent a8f9658 commit a880f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion background_scripts/completion.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Suggestion
<span class="vimiumReset vomnibarTitle">#{@highlightTerms(Utils.escapeHtml(@title))}</span>
</div>
<div class="vimiumReset vomnibarBottomHalf">
<span class="vimiumReset vomnibarUrl">#{@shortenUrl(@highlightTerms(@url))}</span>
<span class="vimiumReset vomnibarUrl">#{@shortenUrl(@highlightTerms(Utils.escapeHtml(@url)))}</span>
#{relevancyHtml}
</div>
"""
Expand Down

0 comments on commit a880f8f

Please sign in to comment.