Skip to content

Extraneous </span> in the deed body template #539

@TimidRobot

Description

@TimidRobot

Description

The Attribution entry in the deed body template contains an extraneous </span> in the description (line 70):

<li class="cc-by">
<strong>{% trans "Attribution" %}</strong> &mdash;
{% blocktrans %}You must give <a href="#ref-appropriate-credit" id="src-appropriate-credit">appropriate credit</a></span>, provide a link to the license, and <span rel="cc:requires" resource="http://creativecommons.org/ns#Notice"><a href="#ref-indicate-changes" id="src-indicate-changes">indicate if changes were made</a></span>. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.{% endblocktrans %}

Because the error is within a translated block, the correction requires all of the following be done concurrently:

  • Fix template
  • Fix all translation files (Gettext .po portable object files and .mo machine object files)
  • Update resource in Transifex
  • Update all translations in Transifex

Expectation

HTML markup should be correct:

- You must give <a href="#ref-appropriate-credit" id="src-appropriate-credit">appropriate credit</a></span>
+ You must give <a href="#ref-appropriate-credit" id="src-appropriate-credit">appropriate credit</a>

Additional context

Thank @adqm for identifying this bug!

Resolution

  • I would be interested in resolving this bug.

Metadata

Metadata

Assignees

Type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions