Google Docs works really well for writing and creating documents, however, when you try to publish, the formatting can get kind of garbled. Google Doc Publisher fixes this problem.
This isn't an official Google product; it's an open-source tool that fixes any wonky formatting when you publish a Google Doc. You publish the document as normal, then head to Google Doc Publisher, paste the URL, and you should get a new, correctly formatted URL of your document.
It's a pretty simple tool that does the job, and they offer an example on their site. Check it out at the link below.