From 2d1864c80db5757175b5beb517f585f4dc763c68 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Thu, 30 Mar 2017 06:57:21 -0400 Subject: [PATCH] Add @jofalk PR #59 that fixes the issue with `` tags not being stripped from front-end editor. --- wire/modules/Page/PageFrontEdit/PageFrontEdit.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/modules/Page/PageFrontEdit/PageFrontEdit.module b/wire/modules/Page/PageFrontEdit/PageFrontEdit.module index 8c1e35e9..4fe6ed5b 100644 --- a/wire/modules/Page/PageFrontEdit/PageFrontEdit.module +++ b/wire/modules/Page/PageFrontEdit/PageFrontEdit.module @@ -423,7 +423,7 @@ class PageFrontEdit extends WireData implements Module { if($hasEditTags) { // remove modal edit tags - $out = preg_replace('!]*>\s*!is', '', $out); + $out = preg_replace('!]*>|>)\s*!is', '', $out); } if($hasEditAttr) {