Quote:
Originally Posted by HM666
Having an issue with line breaks and using the text field box with many lines. Whenever we copy and paste a list like this:
Oranges
Apples
Pecans
and so on it comes out in the thread as this:
Oranges Apples Pecans
We need it to actually come out the way it was copied and pasted into the text field like it does in the vBulletin editor. You had answered someone on this and told them that the <div> was added but that does nothing in getting this sorted at all. Using the larger text field it is automatically not seeing the line breaks at all when a list is copied and pasted into it.
|
Ah, that's not a bug necessarily, but rather it not using html or replacing \n within the field itself. Try this.
Add a new plugin to
postbit_display_start, title can be
Change Extra field \n to Line Breaks, set the
order # to 1 and enter the following code
Code:
$thread['fieldx'] = nl2br($thread['fieldx']);
Change x to the fieldid for this field. That should work :up: