Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
* and to future-proof if HTML tags are added to content later.
*/
?>
<?php foreach ( $body as $paragraph ) : ?>
<p class="text-primary" style="font-size: 14px; line-height: 20px; font-weight: 400; color: #161B18; margin: 0 0 16px 0;">
<?php foreach ( $body as $index => $paragraph ) : ?>
<p class="text-primary" style="font-size: 14px; line-height: 20px; font-weight: 400; color: #161B18; margin: 0 0 <?php echo count( $body ) - 1 === $index ? '20px' : '16px'; ?> 0;">
<?php
echo wp_kses(
$paragraph,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
</h1>

<?php /* Body paragraphs from Content_Map. */ ?>
<?php foreach ( $body as $paragraph ) : ?>
<p class="text-primary" style="font-size: 14px; line-height: 20px; font-weight: 400; color: #161B18; margin: 0 0 16px 0;">
<?php foreach ( $body as $index => $paragraph ) : ?>
<p class="text-primary" style="font-size: 14px; line-height: 20px; font-weight: 400; color: #161B18; margin: 0 0 <?php echo count( $body ) - 1 === $index ? '20px' : '16px'; ?> 0;">
<?php echo wp_kses( $paragraph, array( 'strong' => array() ) ); ?>
</p>
<?php endforeach; ?>
Expand Down