pre tag in pages
Installation and Configuration
sekeri:I sure want formatting. Otherwise it does not embed files into the page.
But i think formatting should not add anything in a pre tag like this?
Yes it will - it does not "know" you have put pre tags around it, and so it replaces newline characters with breaks so the display will look correct (i.e. where the user has placed a newline the text will flow onto the next line).
What you need to do here is purposefully exclude the "nl2br" string modifier by adding it to the jrCore_format_string "blacklist" - i.e.
{$item.lesson_body|jrCore_format_string:$item.profile_quota_id:null:"nl2br"}
Let me know if that works for you.
Hope this helps!