Skip to content

Commit 50652f0

Browse files
committed
fix: msu bold and italic css not applying
1 parent ea212cc commit 50652f0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ui/mods/msu/css/misc.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@
120120
font-family: 'Cinzel', monospace;
121121
}
122122

123-
.msu-font-mb
123+
.msu-font-mb,
124124
.msu-font-bold
125125
{
126126
font-weight: bold !important;
127127
}
128128

129-
.msu-font-mi
129+
.msu-font-mi,
130130
.msu-font-italic
131131
{
132132
font-style: italic !important;

ui/mods/msu/ui_hooks/xbbcode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ MSU.Hooks.XBBCODE_process = XBBCODE.process;
22
XBBCODE.process = function( config )
33
{
44
var ret = MSU.Hooks.XBBCODE_process(config);
5-
ret.html = ret.html.replace(/(?:\[|&#91;)(mi|mb)(?:\]|&#93;)(.*?)(?:\[|&#91;)\/\1(?:\]|&#93;)/gm, '<class="msu-font-$1">$2</>');
5+
ret.html = ret.html.replace(/(?:\[|&#91;)(mi|mb)(?:\]|&#93;)(.*?)(?:\[|&#91;)\/\1(?:\]|&#93;)/gm, '<span class="msu-font-$1">$2</span>');
66
return ret;
77
}

0 commit comments

Comments
 (0)