From ee8bf0b3c085ba2feb285c7b86ecdf782bef95f6 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Wed, 8 Apr 2015 17:10:44 +0200 Subject: [PATCH] chore(doc-gen): HTML escape method signatures Closes #1249 Closes #1257 --- docs/dgeni-package/templates/lib/paramList.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -%}