repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 5105b8d4da96f95f2135a620d3f337d80454422f:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 5105b8d4da96f95f2135a620d3f337d80454422f
Author: James Baicoianu 
Date:   Mon Jan 31 16:08:58 2022 -0800

    Fixed regex character match escaping in htmlmixed mode

diff --git a/media/assets/webui/apps/editor/codemirror/mode/htmlmixed/htmlmixed.js b/media/assets/webui/apps/editor/codemirror/mode/htmlmixed/htmlmixed.js
index 66a158274cdb794d94c833db44ee6cdc31bbad3d..
index ..af3138179a9c4567fa0e76149327ba46a35e8ca4 100644
--- a/media/assets/webui/apps/editor/codemirror/mode/htmlmixed/htmlmixed.js
+++ b/media/assets/webui/apps/editor/codemirror/mode/htmlmixed/htmlmixed.js
@@ -50,7 +50,7 @@
   }

   function getTagRegexp(tagName, anchored) {
-    return new RegExp((anchored ? "^" : "") + "<\/\s*" + tagName + "\s*>", "i");
+    return new RegExp((anchored ? "^" : "") + "<\/\\s*" + tagName + "\\s*>", "i");
   }

   function addTags(from, to) {

-----END OF PAGE-----