Index: typo3/sysext/cms/tslib/media/scripts/plaintextLib.inc =================================================================== --- typo3/sysext/cms/tslib/media/scripts/plaintextLib.inc (Revision 8801) +++ typo3/sysext/cms/tslib/media/scripts/plaintextLib.inc (Arbeitskopie) @@ -178,6 +178,10 @@ $lines[]=$this->getHeader(); $lines[]=$this->breakBulletlist(strip_tags($this->parseBody($this->cObj->data['bodytext']))); break; + case 'list': + $lines[]=$this->getHeader(); + $lines[]=$this->getList(); + break; case 'table': $lines[]=$this->getHeader(); $lines[]=$this->breakTable(strip_tags($this->parseBody($this->cObj->data['bodytext']))); @@ -292,6 +296,17 @@ } /** + * Creates a list + * + * @param string type of content + * @return string Content + */ + function getList($CType = 'list') { + $str = $this->cObj->cObjGetSingle($this->conf[$CType], $this->conf[$CType . '.']); + return trim(strip_tags($this->parseBody($str))); + } + + /** * Renders a content element header, observing the layout type giving different header formattings * * @param string The header string