fix: add whitespace before required actions in info page

This commit is contained in:
Jan Beckmann 2025-03-21 11:37:08 +01:00
parent bc396bc41b
commit da3e7514f0
No known key found for this signature in database
GPG Key ID: 08A9548FAF55AEDE
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ export default function Info(props: PageProps<Extract<KcContext, { pageId: "info
dangerouslySetInnerHTML={{ dangerouslySetInnerHTML={{
__html: kcSanitize( __html: kcSanitize(
(() => { (() => {
let html = message.summary; let html = message.summary?.trim();
if (requiredActions) { if (requiredActions) {
html += " <b>"; html += " <b>";