Skip to content

Commit

Permalink
Merge pull request #617 from localgovdrupal/fix/607/quick-fact-semantics
Browse files Browse the repository at this point in the history
ensures quick fact content is inside a <p> tag
  • Loading branch information
ekes authored Sep 24, 2024
2 parents e6c8082 + 2b5da22 commit a1362aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/paragraphs/paragraph--localgov-fact-box.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@
{{ paragraph.localgov_above_text.value }}
</p>
{% endif %}

<div class="fact-box__fact">
<p>
{{ content.localgov_fact }}
{{ paragraph.localgov_fact.value }}
</p>
{{ content|without('localgov_above_text', 'localgov_fact', 'localgov_below_text', 'localgov_background') }}
</div>

{% if paragraph.localgov_below_text.value %}
<p class="fact-box__closing">
{{ paragraph.localgov_below_text.value }}
Expand Down

0 comments on commit a1362aa

Please sign in to comment.