mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Update shortcode_handler.php
This commit is contained in:
@@ -1421,12 +1421,14 @@ class e_parse_shortcode
|
|||||||
{
|
{
|
||||||
$this->nowrap = $code;
|
$this->nowrap = $code;
|
||||||
$pre = $this->parseCodes($pre, true, $this->addedCodes);
|
$pre = $this->parseCodes($pre, true, $this->addedCodes);
|
||||||
|
$this->nowrap = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(strpos($post, '{') !== false) // shortcode found in wrapper
|
if(strpos($post, '{') !== false) // shortcode found in wrapper
|
||||||
{
|
{
|
||||||
$this->nowrap = $code;
|
$this->nowrap = $code;
|
||||||
$post = $this->parseCodes($post, true, $this->addedCodes);
|
$post = $this->parseCodes($post, true, $this->addedCodes);
|
||||||
|
$this->nowrap = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $pre.$ret.$post;
|
return $pre.$ret.$post;
|
||||||
|
Reference in New Issue
Block a user