summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarthinal2018-01-26 19:43:46 (GMT)
committerjoseph.olstad2018-01-26 19:43:46 (GMT)
commitb16d153bd2eac447eed012b922cc829adb14512f (patch)
treeaa703fa36d1318cf517a408f009a75092fa21700
parent240c9d8a37d1d2aae2d73efc915fd1b4dd11720c (diff)
Issue #2934596 by marthinal: Need to display [[ in code7.x-2.15
-rw-r--r--modules/media_wysiwyg/includes/media_wysiwyg.filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/media_wysiwyg/includes/media_wysiwyg.filter.inc b/modules/media_wysiwyg/includes/media_wysiwyg.filter.inc
index 017aca9..5a98a60 100644
--- a/modules/media_wysiwyg/includes/media_wysiwyg.filter.inc
+++ b/modules/media_wysiwyg/includes/media_wysiwyg.filter.inc
@@ -5,7 +5,7 @@
* Functions related to the WYSIWYG editor and the media input filter.
*/
-define('MEDIA_WYSIWYG_TOKEN_REGEX', '/\[\[.+?"type":"media".+?\]\]/s');
+define('MEDIA_WYSIWYG_TOKEN_REGEX', '/\[\[\{.+?"type":"media".+?\}\]\]/s');
/**
* Filter callback for media markup filter.