api-builder: fix jade formatting of indented constructor code

Closes #1662
This commit is contained in:
Peter Bacon Darwin 2016-06-14 06:40:05 +01:00 committed by Naomi Black
parent 49a7bc3860
commit c4e87d9b83
1 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,8 @@ div(layout="row" layout-xs="column" class="ng-cloak")
pre(class="prettyprint no-bg-with-indent")
a(class="code-anchor" href="#constructor")
code(class="code-background api-doc-code") {$ doc.constructorDoc.name $}
code(class="api-doc-code") {$ paramList(doc.constructorDoc.parameters) | indent(8, false) | trim $}
code(class="api-doc-code").
{$ paramList(doc.constructorDoc.parameters) | indent(8, false) | trim $}
{% endif %}
{% if doc.members.length %}
div(layout="column")