ol large number fix
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user