It shouldn't be used for this. It's the same as building your corporate website using DreamWeaver's Visual Mode and having it generate code automatically. I once did see a company website where pages were added by filling in a Word document and exporting it to HTML. That's just amateuristic. (Just as "databases" in Excel are.)
Use an editor and directly work with the code. Then you know what you are doing, and you know what the result will be. It's the only way to work cleanly.