Skip to content

Commit c3a60bb

Browse files
committed
fix(checkboxesfield): avoid HTML br tag
1 parent 78fd845 commit c3a60bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/field/checkboxesfield.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public function getValueForTargetText($domain, $richText): ?string {
263263
}
264264

265265
if ($richText) {
266-
$value = '<br />' . implode('<br />', $value);
266+
$value = '<div>' . implode('</div><div>', $value) . '</div>';
267267
} else {
268268
$value = implode(', ', $value);
269269
}

0 commit comments

Comments
 (0)