Text
Cleaning HTML tags
If you are using an API like Tumblr you can get all your posts filtering by text using “&filter=text” parameter (http://www.tumblr.com/docs/en/api) But if you want to show your posts with embedded images (in texts post for example) and line breaks this is a wrong option.
What is the solution?, filtering=none (by default) and to use some plugin like jquery-clean that allows to configure what html tags do you want to clean.