Skip to content

EspoCRM – Open Source CRM Application

ol large number fix

Yuri Kuznetsov65722d7143af
diff --git a/client/src/view-helper.js b/client/src/view-helper.js
index 5a5e4d90fa..55de978265 100644
--- a/client/src/view-helper.js
+++ b/client/src/view-helper.js
@@ -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) {