So do you want the page W3C compliant or do you want it to work in FF? If your editor is doing all of the right things to get you to compliance then no other editor or script will do what you want either because it seems that you need something that is "NON" compliant to make a feature work in FF.
Am I not understanding what you want?