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