mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Fix for 'list' detection.
This commit is contained in:
@@ -1191,7 +1191,7 @@ if (!class_exists('e107table', false))
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Automatic list detection .
|
// Automatic list detection .
|
||||||
$isList = (strpos(ltrim($text), '<ul ') !== false) ? true : false;
|
$isList = (strpos(ltrim($text), '<ul') === 0 ) ? true : false;
|
||||||
$this->setContent('list', $isList);
|
$this->setContent('list', $isList);
|
||||||
|
|
||||||
$options = $this->getContent();
|
$options = $this->getContent();
|
||||||
|
Reference in New Issue
Block a user