mirror of
https://github.com/processwire/processwire.git
synced 2025-08-16 19:54:24 +02:00
Fix issue processwire/processwire-issues#1189
This commit is contained in:
@@ -580,6 +580,7 @@ class PageRender extends WireData implements Module, ConfigurableModule {
|
|||||||
if(!$pos) {
|
if(!$pos) {
|
||||||
// there still may be region related stuff that needs to be removed like <region> tags
|
// there still may be region related stuff that needs to be removed like <region> tags
|
||||||
$markupRegions->removeRegionTags($html);
|
$markupRegions->removeRegionTags($html);
|
||||||
|
$html = $markupRegions->stripOptional($html);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user