Formatting stripped from editor in Joomla 2.5

If the formatting in your article is not saved in Joomla 2.5 then you need to check the test filters in the Global configuration.

Go to Site > Global Configuration and select the tab Text filters.
If you are the super user, you find a dropdown box at the bottom.
Set it to No filtering and save.

That should solve the problem.