Commit 73577fa2 authored by MartinTomes's avatar MartinTomes Committed by joseph.olstad

Issue #2942482 AND Issue #2976467 by shivamitakari, MartinTomes, koosvdkolk,...

Issue #2942482 AND Issue #2976467 by shivamitakari, MartinTomes, koosvdkolk, adriancotter, alrh, hcethatsme: Issue 2934596 breaks recognition of media tags
parent 9c482f86
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment