1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

Update shortcode_handler.php

This commit is contained in:
rica-carv
2016-12-06 19:01:08 +00:00
committed by GitHub
parent b9a0d0f8f5
commit af4c16e593

View File

@@ -1421,12 +1421,14 @@ class e_parse_shortcode
{
$this->nowrap = $code;
$pre = $this->parseCodes($pre, true, $this->addedCodes);
$this->nowrap = false;
}
if(strpos($post, '{') !== false) // shortcode found in wrapper
{
$this->nowrap = $code;
$post = $this->parseCodes($post, true, $this->addedCodes);
$this->nowrap = false;
}
return $pre.$ret.$post;