Skip to content

Commit

Permalink
Trim whitespace in link in text introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed May 1, 2024
1 parent d46fd67 commit 902ff1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cfgov/v1/jinja2/v1/includes/molecules/text-introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ <h1>{{ value.heading }}</h1>
<a class="m-list__link"
href="{{ link.url }}"
{% if link.aria_label %}aria-label="{{ link.aria_label }}"{% endif %}>
{% if link.is_link_boldface %}<strong>{% endif %}
{{ link.text }}
{% if link.is_link_boldface %}</strong>{% endif %}
{%- if link.is_link_boldface -%}<strong>{%- endif -%}
{{- link.text -}}
{%- if link.is_link_boldface -%}</strong>{%- endif -%}
</a>
</li>
{% if loop.last %}</ul>{% endif %}
Expand Down

0 comments on commit 902ff1a

Please sign in to comment.