Some more fixes to the parser.

This commit is contained in:
Patman64
2014-08-11 04:15:35 -04:00
parent 8ab66a5eab
commit 9b6500ad77
3 changed files with 38 additions and 23 deletions

View File

@@ -62,7 +62,7 @@
{%- if current_method.parameters|length > 0 %}
{%- for param in current_method.parameters %}
<dl>
<dt><code>{{ param.data_type|escape|parse_data_type }} {{ param.name }} {{ param.default_value + ' ' if param.default_value }}</code></dt>
<dt><code>{{ param.data_type|escape|parse_data_type }} {{ param.name }} {{- ' (' + param.default_value + ')' if param.default_value }}</code></dt>
<dd class="docblock">{{ param.description|parse_links if param.description else '<em>See method description.</em>' }}</dd>
</dl>
{%- endfor %}