x
This commit is contained in:
1 parent
335f3b4f59
commit
eafdc5a669
2 files changed
+10
-5
No files matched your search
@@ -40,7 +40,7 @@ function optionalText(value: unknown, lang: string) {
|
||||
return localizedValue(value, lang)
|
||||
}
|
||||
|
||||
function renderAccentTitle(text: string, accentClassName = 'ui-accent-text not-italic') {
|
||||
function renderAccentTitle(text: string, accentClassName = 'ui-accent-text') {
|
||||
if (!text.includes('[') || !text.includes(']')) return text
|
||||
|
||||
return text.split('[').map((part, index) => {
|
||||
|
||||
Reference in new issue
Block a user