[TYPO3-english] Problem with crop and text field with line breaks

Brian Bendtsen bb at bellevuevej.dk
Wed Nov 18 13:44:56 CET 2009


Hi

This is driving me crazy.

Im using the crop function on a text field, but somehow the output gets 
messed up if there is a linebreak in the text field.

ts:

lib.mytextfield.crop = 100 | ... | 1

the output looks like this:

<div id="mytextfield">
  <p class="bodytext">
   this is my text before linebreak </p>
  <.../p>
</div>

The <.../p> is the problem here. What can I do to prevent this from 
happening? Any help is appreciated

/Brian


More information about the TYPO3-english mailing list