I figured it out. I have this plugin called Ckeditor that I really love for writing blog posts as it simulates word but the problem is that it messes a lot of things up. So after writing my blog posts I usually deactivate it but today I forgot. Soon as i deactivated it everything was back to normal. All good now. Cheers!