diff --git a/tools/dgeni/templates/method.template.html b/tools/dgeni/templates/method.template.html index 8a79b1e18b4d..4d6ed2f81ec3 100644 --- a/tools/dgeni/templates/method.template.html +++ b/tools/dgeni/templates/method.template.html @@ -9,11 +9,13 @@ + {%- if method.description -%} {$ method.description | marked | safe $} + {%- endif -%} {%- if method.params.length -%} diff --git a/tools/dgeni/templates/property.template.html b/tools/dgeni/templates/property.template.html index fd539e9ea11a..1b8adf131e7b 100644 --- a/tools/dgeni/templates/property.template.html +++ b/tools/dgeni/templates/property.template.html @@ -23,9 +23,8 @@ {%- endif -%}

- {$ property.name $} + {$ property.name $}: {$ property.type $}

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