How to stop concrete from inserting empty paragraphs

Permalink
I noticed when I use the content block, and put some info in there, concrete puts 2 empty <p>&nbsp;</p> elements in there at the end of post.
Any way to stop concrete from doing this, I hate it!
Thanks in advance for your help!
Abs0lute

Abs0lute
 
Remo replied on at Permalink Reply
Remo
This is not related to Concrete5. It's a TinyMCE issue (feature).

You can use the custom toolbar feature in c5 though..

Check this information:http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/forced_ro...
glockops replied on at Permalink Reply
glockops
Check this post out about valid xhtml tinyMCE output:
http://www.newmediacampaigns.com/page/how-to-produce-xhtml-10-stric...

I also find this problem extremely annoying. If you drag and drop content and then view html you'll see something like
<p>
<p>Your drag and drop content....</p>
</p>

which upon save, gets converted to:
<p>&nbsp;</p>
<p>Your drag and drop content...</p>
<p>&nbsp;</p>


Anyhow, if you manage to get that valid mark-up script to work, let me know - I don't have time at the moment to poke around with it.

Hope it helps!
glockops replied on at Permalink Reply
glockops
What's up with the code block? It inserted those <?php ?> tags by itself, is that a new feature???

Obviously, tinyMCE doesn't output PHP.