File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 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 ;
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ MSU.Hooks.XBBCODE_process = XBBCODE.process;
22XBBCODE . process = function ( config )
33{
44 var ret = MSU . Hooks . XBBCODE_process ( config ) ;
5- ret . html = ret . html . replace ( / (?: \[ | & # 9 1 ; ) ( m i | m b ) (?: \] | & # 9 3 ; ) ( .* ?) (?: \[ | & # 9 1 ; ) \/ \1(?: \] | & # 9 3 ; ) / gm, '<class="msu-font-$1">$2</>' ) ;
5+ ret . html = ret . html . replace ( / (?: \[ | & # 9 1 ; ) ( m i | m b ) (?: \] | & # 9 3 ; ) ( .* ?) (?: \[ | & # 9 1 ; ) \/ \1(?: \] | & # 9 3 ; ) / gm, '<span class="msu-font-$1">$2</span >' ) ;
66 return ret ;
77}
You can’t perform that action at this time.
0 commit comments