Skip to content

Commit 33cd93a

Browse files
committed
Fix hero highlights rendering - use innerHTML instead of textContent
1 parent b73ca32 commit 33cd93a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -722,8 +722,8 @@ <h1 class="doc-title" id="docTitle"></h1>
722722
// ====== Initialize Landing Page ======
723723
function initLanding(){
724724
document.getElementById('heroTitle').textContent=T.heroTitle;
725-
document.getElementById('heroSubtitle').textContent=T.heroSubtitle;
726-
document.getElementById('heroDesc').textContent=T.heroDesc;
725+
document.getElementById('heroSubtitle').innerHTML=T.heroSubtitle;
726+
document.getElementById('heroDesc').innerHTML=T.heroDesc;
727727
document.getElementById('heroButtons').innerHTML=
728728
'<a href="https://github.com/Spring-bulid/KinSU/releases/latest" target="_blank" class="btn-primary">'+T.btnAdventure+'</a>'+
729729
'<a href="#" onclick="switchToDocs();return false;" class="btn-secondary">'+T.btnGuide+'</a>';

0 commit comments

Comments
 (0)