mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 01:29:35 +02:00
Merge pull request #27831 from overleaf/msm-fix-sp-footer
[web] Fix CE/SP footer rendering GitOrigin-RevId: 600ee50798c6b727dec2011198c4e55dc73455a5
This commit is contained in:
committed by
Copybot
parent
05bf74cf94
commit
afccedbfa3
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user