Merge pull request #27831 from overleaf/msm-fix-sp-footer

[web] Fix CE/SP footer rendering

GitOrigin-RevId: 600ee50798c6b727dec2011198c4e55dc73455a5
This commit is contained in:
Mathias Jakobsen
2025-08-13 10:20:03 +01:00
committed by Copybot
parent 05bf74cf94
commit afccedbfa3

View File

@@ -16,7 +16,7 @@ function FooterItemLi({
const textToDisplay = translatedText || text
if (!href) {
return <li>{textToDisplay}</li>
return <li dangerouslySetInnerHTML={{ __html: textToDisplay }} />
}
const linkProps = {
@@ -27,7 +27,7 @@ function FooterItemLi({
return (
<li>
<a {...linkProps} dangerouslySetInnerHTML={{ __html: textToDisplay }} />
<a {...linkProps}>{textToDisplay}</a>
</li>
)
}