summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormartin2018-02-09 01:12:38 (GMT)
committerolstjos2018-02-09 01:12:38 (GMT)
commitb987a6f150f32cd1258deba97e19141c0c5b9049 (patch)
tree4e69b18150c297e3cb9eb7f0d884480e5ecf79ab
parentb16d153bd2eac447eed012b922cc829adb14512f (diff)
Issue #2942482 by MartinTomes, adriancotter, alrh, koosvdkolk, hcethatsme: Issue 2934596 breaks recognition of media tags7.x-2.16
-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 5a98a60..1ac35c2 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.