We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5239fb0 commit ea94de0Copy full SHA for ea94de0
1 file changed
src/canonicalize.rs
@@ -2772,6 +2772,9 @@ impl CanonicalizeContext {
2772
}
2773
2774
fn handle_convert_to_mmultiscripts(children: &mut Vec<ChildOfElement>) {
2775
+ if children.len() == 1 {
2776
+ return; // can't convert to mmultiscripts if there is nothing to attach an empty base to
2777
+ }
2778
let mut i = 0;
2779
// convert_to_mmultiscripts changes 'children', so can't cache length
2780
while i < children.len() {
0 commit comments