Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
Fix bug 1335006
Browse files Browse the repository at this point in the history
Change jsxref macro to use <%- %> for the displayed text, so that special
characters like "<" and ">" draw correctly instead of showing up as "&lt;"
etc.
  • Loading branch information
Eric Shepherd authored and jwhitlock committed Feb 9, 2017
1 parent 21c4f6b commit 9724b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/jsxref.ejs
Expand Up @@ -51,4 +51,4 @@ if (page && page.summary) {
var code = !$3 ? '<code>' : '';
var endcode = !$3 ? '</code>' : '';
%><a href="<%- URL + $2 %>" title="<%-summary%>"><%- code %><%= str %><%- endcode %></a>
%><a href="<%- URL + $2 %>" title="<%-summary%>"><%- code %><%- str %><%- endcode %></a>

0 comments on commit 9724b1c

Please sign in to comment.