1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Merge pull request #2122 from rica-carv/rica-carv-patch-3

Small bug correction in #2113
This commit is contained in:
Cameron 2016-12-06 11:19:50 -08:00 committed by GitHub
commit 9e6591cad9

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;