Skip to content

Commit ee8bf0b

Browse files
chore(doc-gen): HTML escape method signatures
Closes angular#1249 Closes angular#1257
1 parent 41262f4 commit ee8bf0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% macro paramList(params) -%}
22
{%- if params -%}<span class="params">(
33
{%- for param in params -%}
4-
<span class="param">{$ param $}{% if not loop.last %}, {% endif %}</span>
4+
<span class="param">{$ param | escape $}{% if not loop.last %}, {% endif %}</span>
55
{%- endfor %})</span>
66
{%- endif %}
77
{%- endmacro -%}

0 commit comments

Comments
 (0)