mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore(doc-gen): HTML escape method signatures
Closes #1249 Closes #1257
This commit is contained in:
@@ -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 -%}
|
||||
|
||||
Reference in New Issue
Block a user