diff --git a/docs/dgeni-package/templates/lib/paramList.html b/docs/dgeni-package/templates/lib/paramList.html index c5e4bd6e2b3..85dccb212bf 100644 --- a/docs/dgeni-package/templates/lib/paramList.html +++ b/docs/dgeni-package/templates/lib/paramList.html @@ -1,7 +1,7 @@ {% macro paramList(params) -%} {%- if params -%}( {%- for param in params -%} - {$ param $}{% if not loop.last %}, {% endif %} + {$ param | escape $}{% if not loop.last %}, {% endif %} {%- endfor %}) {%- endif %} {%- endmacro -%}