File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 127
127
//
128
128
filterClass : function ( CLASS ) {
129
129
if ( ALLOW . classes === "none" ||
130
- ( ALLOW . classes !== "all" && ! CLASS . match ( / ^ M J X - / ) ) ) { CLASS = null }
130
+ ( ALLOW . classes !== "all" && ! CLASS . match ( / ^ M J X - [ - a - z A - Z 0 - 9 _ . ] + $ / ) ) ) { CLASS = null }
131
131
return CLASS ;
132
132
} ,
133
133
filterID : function ( id ) {
134
134
if ( ALLOW . cssIDs === "none" ||
135
- ( ALLOW . cssIDs !== "all" && ! id . match ( / ^ M J X - / ) ) ) { id = null }
135
+ ( ALLOW . cssIDs !== "all" && ! id . match ( / ^ M J X - [ - a - z A - Z 0 - 9 _ . ] + $ / ) ) ) { id = null }
136
136
return id ;
137
137
} ,
138
138
190
190
//
191
191
filterSizeMultiplier : function ( size ) {
192
192
if ( ALLOW . fontsize === "none" ) { size = null }
193
- else if ( ALLOW . fontsize !== "all" ) { size = Math . min ( 1 , size ) . toString ( ) }
193
+ else if ( ALLOW . fontsize !== "all" ) { size = Math . min ( 1 , Math . max ( .6 , size ) ) . toString ( ) }
194
194
return size ;
195
195
} ,
196
196
//
You can’t perform that action at this time.
0 commit comments