Commit b987a6f1 authored by MartinTomes's avatar MartinTomes Committed by joseph.olstad

Issue #2942482 by MartinTomes, adriancotter, alrh, koosvdkolk, hcethatsme:...

Issue #2942482 by MartinTomes, adriancotter, alrh, koosvdkolk, hcethatsme: Issue 2934596 breaks recognition of media tags
parent b16d153b
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* Functions related to the WYSIWYG editor and the media input filter. * 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. * 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