Skip to content

Commit

Permalink
Add br to wp_kses instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Oct 25, 2024
1 parent 279f616 commit 78a0ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gateway/MolliePaymentGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ public function displayInstructions(
echo esc_html($instructions) . PHP_EOL;
} else {
echo '<section class="woocommerce-order-details woocommerce-info mollie-instructions" >';
echo wp_kses(wpautop($instructions), ['p' => [], 'strong' => []]) . PHP_EOL;
echo wp_kses(wpautop($instructions), ['p' => [], 'strong' => [], 'br' => []]) . PHP_EOL;
echo '</section>';
}
}
Expand Down

0 comments on commit 78a0ade

Please sign in to comment.