diff --git a/inc/functions.php b/inc/functions.php
index bca8d1d1..d9fea0a5 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -2819,7 +2819,7 @@ function handle_dice_roll_markup(array $matches, ?string $img_path): string {
if ($img_path === null) {
$fmt = "$text $res";
} else {
- $fmt = "
$res";
+ $fmt = "
$res";
}
if (empty($acc)) {
$acc = $fmt;