Avoid printing dot when copyright holder already ends with dot (#666)

e.g. My Company, Inc.
This commit is contained in:
Jakub Kadlčík 2018-09-17 01:58:43 +02:00 committed by Aaron Carlisle
parent 74ba4b29fb
commit 6bed095f14

View File

@ -16,9 +16,9 @@
<p> <p>
{%- if show_copyright %} {%- if show_copyright %}
{%- if hasdoc('copyright') %} {%- if hasdoc('copyright') %}
{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %} {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}{% endtrans %}
{%- else %} {%- else %}
{% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %} {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}{% endtrans %}
{%- endif %} {%- endif %}
{%- endif %} {%- endif %}