mirror of
https://github.com/quantum5/correcthorsebatterystaple.git
synced 2025-04-24 10:11:57 -04:00
Correctly escape symbols
This commit is contained in:
parent
14be1dff3c
commit
0d36f7f6bd
|
@ -85,7 +85,7 @@
|
||||||
<label for="use-symbol">Use separator symbol:</label>
|
<label for="use-symbol">Use separator symbol:</label>
|
||||||
<select id="separator-symbol" name="separator">
|
<select id="separator-symbol" name="separator">
|
||||||
<% [...require('./generator').symbols].forEach(symbol => { %>
|
<% [...require('./generator').symbols].forEach(symbol => { %>
|
||||||
<option <% if (symbol === require('./generator').defaultSymbol) { %>selected<% } %>><%= symbol %></option>
|
<option <% if (symbol === require('./generator').defaultSymbol) { %>selected<% } %>><%= _.escape(symbol) %></option>
|
||||||
<% }) %>
|
<% }) %>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue