MDL-74492 editor_atto: Comment the regex change
This commit is contained in:
+1
@@ -1793,6 +1793,7 @@ EditorClean.prototype = {
|
||||
|
||||
// Use a regular expression to find the next open or close li, ul, or ol tag.
|
||||
// Keep going until there are no more matching tags left.
|
||||
// This expression looks for whole words by employing the word boundary (\b) metacharacter.
|
||||
while ((match = toProcess.match(/<(\/?)(li|ul|ol)\b[^>]*>/i))) {
|
||||
currentTag = {
|
||||
tag: match[2],
|
||||
|
||||
+1
@@ -1780,6 +1780,7 @@ EditorClean.prototype = {
|
||||
|
||||
// Use a regular expression to find the next open or close li, ul, or ol tag.
|
||||
// Keep going until there are no more matching tags left.
|
||||
// This expression looks for whole words by employing the word boundary (\b) metacharacter.
|
||||
while ((match = toProcess.match(/<(\/?)(li|ul|ol)\b[^>]*>/i))) {
|
||||
currentTag = {
|
||||
tag: match[2],
|
||||
|
||||
+1
@@ -498,6 +498,7 @@ EditorClean.prototype = {
|
||||
|
||||
// Use a regular expression to find the next open or close li, ul, or ol tag.
|
||||
// Keep going until there are no more matching tags left.
|
||||
// This expression looks for whole words by employing the word boundary (\b) metacharacter.
|
||||
while ((match = toProcess.match(/<(\/?)(li|ul|ol)\b[^>]*>/i))) {
|
||||
currentTag = {
|
||||
tag: match[2],
|
||||
|
||||
Reference in New Issue
Block a user