Skip to content
Snippets Groups Projects

Issue #3431839: Fix Drupal 11 compatibility issues.

Files
2
+ 1
1
@@ -173,7 +173,7 @@
*/
ml.strip_tags = function(input, allowed) {
// Remove all newlines, spaces and tabs from the beginning and end of html.
input = $.trim(input);
input = input.trim();
// Make sure line ending characters are unified.
input = ml.unify_lineending(input);
// Making sure the allowed arg is a string containing only tags in
Loading