I added $thread[preview] below each thread title in my threadbit template, so the forumdisplay shows a thread preview for all threads without having to mouseover the link.
My problem is that the linebreaks are stripped, so all the paragraphs are stuck together. This doesn't happen with the mouseover preview (when title=$thread[preview]). When I mouseover a link the preview retains the proper linebreaks.
Any suggestions to keep the $thread[preview] linebreaks intact when displaying outside of the link title (mouseover)?
Thanks.
UPDATE:
Well, I got the line breaks to display correctly by adding...
Code:
$thread['preview'] = nl2br($thread['preview']);
in functions_forumdisplay.php , but this causes a problem for the mouseover preview formatting.
I am still looking for a better way to do this the retains proper formatting for both mouseover previews and inline previews, preferably without any php code changes.