Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FortAwesome/Font-Awesome.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobmadole <robmadole@gmail.com>2016-11-21 19:35:14 +0300
committerrobmadole <robmadole@gmail.com>2016-11-21 19:35:14 +0300
commit75cdda9bf768914e72e1d72b720d8b44566d3f6f (patch)
treebd1ce27e1c28bc4907164efd7aa37534bebaff3b
parent3fbc6846364ff92afe88d21124df7509ce3771b5 (diff)
Fix script injection by using _.template escaping
-rw-r--r--src/icons.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/icons.html b/src/icons.html
index 00ad17e74..85534b2dd 100644
--- a/src/icons.html
+++ b/src/icons.html
@@ -57,7 +57,7 @@ relative_path: ../
{% include icons/medical.html %}
</div>
<script type="text/template" id="results-template">
- <h2 class="page-header">Search for '<span class="text-color-default"><%= content.query %></span>'</h2>
+ <h2 class="page-header">Search for '<span class="text-color-default"><%- content.query %></span>'</h2>
<% if (content.nbHits > 0) { %>
<div class="row fontawesome-icon-list">
<%= results %>