The following article was written by Rick Stone, the RoboWizard. Rick is a well known and respected developer. His site is packed full of real-world RoboHelp and Captivate tips and tricks. Check out his Monthly Scry section for some very informative articles.
When using the RoboHelp HTML WYSIWYG editor, have you ever encountered the following disturbing behavior? You compile, generate or preview and notice that your resulting text has odd spacing as follows:
Here is a wonderful paragraph. Notice it is neatly aligned and everything looks just peachy. Why, it might look just dandy in the RoboHelp HTML WYSIWYG editor, but when you view it in either the compiled/generated result or the RoboHelp HTML preview window, it has odd spacing (typically between sentences). The spacing may look like this!
Believe it or not, the cute RoboHelp project Mogwai weren't fed before midnight and mutated into the Gremlins that are messing with your project! What has probably happened to you is that you adjusted the left margin using the slider widget on the Ruler. This tends to add some code to your HTML indicating the left margin adjustment. Later, you decided to combine one paragraph with another. Quite logically, you positioned your cursor at the end of the paragraph and pressed the Delete key so the following paragraph appeared to continue to flow. And it does appear to flow properly while in the editor.
How to fix it?
One of the neat aspects of the RoboHelp HTML WYSIWYG editor is that if you select some text, then click the TrueCode tab, the same text (and attributes) are selected in TrueCode. This should easily show you what has happened to cause the odd gap. If you look closely, you will probably find that where the odd gap occurs, you see a tag containing a left margin declaration. Simply remove the opening tag and you should be set. If you wish to be extra tidy, you can traverse the text and locate the closing tag, but I find the WYSIWYG editor does a fair job of doing that automagickally.