From 9df446931421f58fac101277c460fcbaa62fabed Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 10 Mar 2017 06:08:12 -0500 Subject: [PATCH] Fix issue processwire/processwire-issues#200 where the WireMarkupRegions self-closing tags list needed `` and a few others --- wire/core/WireMarkupRegions.php | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/wire/core/WireMarkupRegions.php b/wire/core/WireMarkupRegions.php index a489d081..23879b64 100644 --- a/wire/core/WireMarkupRegions.php +++ b/wire/core/WireMarkupRegions.php @@ -31,8 +31,23 @@ class WireMarkupRegions extends Wire { * */ protected $selfClosingTags = array( - 'input', + 'link', + 'area', + 'base', + 'br', + 'col', + 'command', + 'embed', + 'hr', 'img', + 'input', + 'keygen', + 'link', + 'meta', + 'param', + 'source', + 'track', + 'wbr', ); /**