--- class.tslib_content.php.orig 2005-05-17 09:47:43.571557920 +0200 +++ class.tslib_content.php 2005-05-17 15:57:35.267907280 +0200 @@ -1645,7 +1645,12 @@ $cols = t3lib_div::intInRange($cols*$compWidth, 1, 120); $rows=trim($fParts[2]) ? t3lib_div::intInRange($fParts[2],1,30) : 5; - $wrap=trim($fParts[3]) ? ' wrap="'.trim($fParts[3]).'"' : ' wrap="virtual"'; + $wrap=trim($fParts[3]); + if ($conf['noWrapAttr'] || $wrap === 'disabled') { + $wrap=''; + } else { + $wrap=$wrap ? ' wrap="'.trim($fParts[3]).'"' : ' wrap="virtual"'; + } $default = $this->getFieldDefaultValue($conf['noValueInsert'], $confData['fieldname'], str_replace('\n',chr(10),trim($parts[2]))); $fieldCode=sprintf('', $confData['fieldname'], $cols, $rows, $wrap, t3lib_div::formatForTextarea($default));