Fix tag_object having too much whitespace.

master
voussoir 2017-06-16 02:22:42 -07:00
parent 707a9ab7c2
commit 56655d2cd0
1 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@
{%- endif -%} {%- endif -%}
{% set altlines=[] %} {% set altlines=[] %}
{% if with_alt_qualified_name %}{% do altlines.append(tag.qualified_name()) %}{% endif %} {% if with_alt_qualified_name %}{% do altlines.append(tag.qualified_name()) %}{% endif %}
{% if with_alt_description %}{% do altlines.append(tag.description) %}{% endif %} {% if with_alt_description and tag.description != "" %}{% do altlines.append(tag.description) %}{% endif %}
{% set altlines=altlines|join("\n") %} {% set altlines=altlines|join("\n") %}
{%- if altlines -%} {%- if altlines -%}
{{' '}}title="{{altlines}}" {{' '}}title="{{altlines}}"
@ -60,11 +60,11 @@
{%- if qualified_name -%} {%- if qualified_name -%}
{{tag.qualified_name(max_len=max_len)}} {{tag.qualified_name(max_len=max_len)}}
{%- else -%} {%- else -%}
{% if max_len is not none %} {%- if max_len is not none -%}
{{tag.name[:max_len]}} {{tag.name[:max_len]}}
{% else %} {%- else -%}
{{tag.name}} {{tag.name}}
{% endif %} {%- endif -%}
{%- endif -%} {%- endif -%}
{{- closing|safe -}} {{- closing|safe -}}