Skip to content

Commit

Permalink
Merge pull request #8371 from cfpb/ans_trim_whitespace
Browse files Browse the repository at this point in the history
Trim whitespace in link in text introduction
  • Loading branch information
anselmbradford authored May 1, 2024
2 parents 3edc40c + 902ff1a commit 5f2ee03
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 5f2ee03

Please sign in to comment.