mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
chore(doc-gen): HTML escape method signatures
Closes #1249 Closes #1257
This commit is contained in:
parent
41262f4265
commit
ee8bf0b3c0
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{% macro paramList(params) -%}
|
||||
{%- if params -%}<span class="params">(
|
||||
{%- for param in params -%}
|
||||
<span class="param">{$ param $}{% if not loop.last %}, {% endif %}</span>
|
||||
<span class="param">{$ param | escape $}{% if not loop.last %}, {% endif %}</span>
|
||||
{%- endfor %})</span>
|
||||
{%- endif %}
|
||||
{%- endmacro -%}
|
||||
|
|
|
|||
Loading…
Reference in a new issue