mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Fixed issue where a shortcode's location would not get set to split when using the class leftAlone
This commit is contained in:
parent
730512f036
commit
a4760b8ee4
@ -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