ol large number fix

This commit is contained in:
Yuri Kuznetsov
2024-12-21 10:31:01 +02:00
parent 3fb75588a0
commit 65722d7143
+4
View File
@@ -72,6 +72,10 @@ class ViewHelper {
node.targetBlank = false;
}
}
if (node instanceof HTMLOListElement && node.start && node.start > 99) {
node.removeAttribute('start');
}
});
DOMPurify.addHook('afterSanitizeAttributes', function (node) {