mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-27 15:50:34 +00:00
fix(components): 🐛 escape the contents of MediaWiki:Tagline
Co-authored-by: BlankEclair <blankeclair@waifu.club>
This commit is contained in:
parent
c11fbf67a9
commit
4a43280242
|
@ -191,13 +191,13 @@ class CitizenComponentPageHeading implements CitizenComponent {
|
|||
$tagline = $localizer->msg( 'citizen-tagline' )->parse();
|
||||
} else {
|
||||
// Fallback to site tagline
|
||||
$tagline = $localizer->msg( 'tagline' )->text();
|
||||
$tagline = $localizer->msg( 'tagline' )->parse();
|
||||
}
|
||||
}
|
||||
} elseif ( !$localizer->msg( 'citizen-tagline' )->isDisabled() ) {
|
||||
$tagline = $localizer->msg( 'citizen-tagline' )->parse();
|
||||
} else {
|
||||
$tagline = $localizer->msg( 'tagline' )->text();
|
||||
$tagline = $localizer->msg( 'tagline' )->parse();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue