diff --git a/tools/dgeni/templates/class.template.html b/tools/dgeni/templates/class.template.html index c9d03bf8348..4ae4a3e7630 100644 --- a/tools/dgeni/templates/class.template.html +++ b/tools/dgeni/templates/class.template.html @@ -1,7 +1,7 @@

{$ class.name $}

-

{$ class.description $}

+

{$ class.description | marked | safe $}

{%- if class.directiveSelectors -%}
diff --git a/tools/dgeni/templates/method.template.html b/tools/dgeni/templates/method.template.html index eeb7373d085..50b43d1223e 100644 --- a/tools/dgeni/templates/method.template.html +++ b/tools/dgeni/templates/method.template.html @@ -10,7 +10,9 @@ - {$ method.description $} + + {$ method.description | marked | safe $} + {%- if method.params.length -%} @@ -31,7 +33,9 @@ {$ parameter.type $} -

{$ parameter.description $}

+

+ {$ parameter.description | marked | safe $} +

{% endfor %} @@ -48,7 +52,9 @@ {$ method.returnType $} -

{$ method.returns.description $}

+

+ {$ method.returns.description | marked | safe $} +

{%- endif -%} diff --git a/tools/dgeni/templates/property.template.html b/tools/dgeni/templates/property.template.html index 2d17ace86d8..fd539e9ea11 100644 --- a/tools/dgeni/templates/property.template.html +++ b/tools/dgeni/templates/property.template.html @@ -27,5 +27,5 @@

{$ property.type $} - {$ property.description $} + {$ property.description | marked | safe $}