Here is an online HTML characters encoding tool I have created for those who post script on a blog or webpage. It will convert all the <, >, ' and " characters to html entities.
WordPress visual Editor does not work as expected. When I copy and paste in codes then it should show it as it is it but it adds lots of markup whereas HTML mode it works correctly for codes. It only adds new lines. So, I need to sanitize my HTML code and then paste it in HTML code of editor.
So, this online tool is required and hope it will be useful for all. online HTML characters encoding tool
Doing encoding is essential for the script you are going to paste inside blogspot HTML. Encoding the code is equally true for pasting adsense code also.