mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #6335 from webbuilders-group/shortcode-location-fix
BUGFIX: Fixed issue where a shortcode's location would not get set to split when using the class leftAlone
This commit is contained in:
commit
76ce9fb94f
@ -572,7 +572,7 @@ class ShortcodeParser extends Object {
|
||||
|
||||
$location = self::INLINE;
|
||||
if($class == 'left' || $class == 'right') $location = self::BEFORE;
|
||||
if($class == 'center' || $class == 'leftALone') $location = self::SPLIT;
|
||||
if($class == 'center' || $class == 'leftAlone') $location = self::SPLIT;
|
||||
|
||||
if(!$parent) {
|
||||
if($location !== self::INLINE) {
|
||||
|
Loading…
Reference in New Issue
Block a user