summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormartin2018-06-25 21:16:22 (GMT)
committerJoseph Olstad2018-06-25 21:16:56 (GMT)
commit73577fa27beb8dc9d5b47a9f02730610e2a57c33 (patch)
tree0e769f87d8c23b5f524fc7c263872afa12d3648e
parent9c482f86e490fd4b5e686d2c8a87a63506ebafe2 (diff)
Issue #2942482 AND Issue #2976467 by shivamitakari, MartinTomes, koosvdkolk, adriancotter, alrh, hcethatsme: Issue 2934596 breaks recognition of media tags
-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 a307c2f..2790904 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.