Skip to content

Commit

Permalink
Fixed bug for Html Editor(summernote) (#2154)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmtco committed Nov 29, 2021
1 parent df89cf0 commit 31ea8ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core.js
Expand Up @@ -1032,6 +1032,7 @@ $.extend( $.validator, {
// meta-characters that should be escaped in order to be used with JQuery
// as a literal part of a name/id or any selector.
escapeCssMeta: function( string ) {
if (string === undefined) return "";
return string.replace( /([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g, "\\$1" );
},

Expand Down

0 comments on commit 31ea8ff

Please sign in to comment.