1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

Moved list detection to class2.

This commit is contained in:
Cameron
2019-06-16 13:45:05 -07:00
parent fa6852ea8e
commit a9292caef0
5 changed files with 6 additions and 38 deletions

View File

@@ -1188,6 +1188,10 @@ if (!class_exists('e107table', false))
$thm = new $this->themeClass();
}
// Automatic list detection .
$isList = (strpos(ltrim($text), '<ul ') !== false) ? true : false;
$this->setContent('list', $isList);
$options = $this->getContent();
$options['uniqueId'] = $this->uniqueId;