Flux has a built in Tidy code feature that does a lot more than you think.
From the Options menu at the top of the Code Editor you will find the Tidy Code menu item.
Flux uses a built in version of HTML Tidy originally developed by Dave Raggett and now looked after by a group of developers as a SourceForge project.
This can do a lot more than just present your code in a more structured layout, HTML Tidy looks for all sorts of mistakes and sloppy coding and puts it right. For a much better understanding of what it does see here http://www.w3.org/People/Raggett/tidy/.
In Flux Preferences you can set the option Tidy Code Before Saving, but this does not apply to FreeCode pages, where tidying is done from the Code Editor.