Add rolblack marker stripping back in

This commit is contained in:
Alex Schroeder
2023-08-10 11:23:18 +02:00
parent f8752e69bc
commit b70c8e8def

View File

@@ -1571,6 +1571,10 @@ sub StripRollbacks {
splice(@result, $i, 1); # strip rolled back single pages
}
}
} else { # if rollbacks are not not shown, just strip the markers
for (my $i = $#result; $i >= 0; $i--) {
splice(@result, $i, 1) if $result[$i][1] eq '[[rollback]]'; # id
}
}
return @result;
}