when I'm calling in the item tpl a piece of content by:
<p>[+content:len:gt=`100`:then=`[+content:character_limit=`100`+]`:else=`[+content+]`+]</p>
there are new-lines (BR or \n\r) from tinymce. I want to remove them - how can I do that?
The quickest way to avoid TinyMCE formatting things like this is to place them in a chunk or template variable (from personal experience).
Edit: You can also take a look at the TinyMCE plugin configuration under:
Elements > Manage Elements > Plugins (tab) > TinyMCE Rich Text Editor
You can enter custom TinyMCE parameters in the Custom Parameters textarea. Take a look at http://www.tinymce.com/wiki.php/TinyMCE_FAQ#TinyMCE_adds_BR_elements_to_my_content