This content has been marked as final. Show 5 replies
Nah! You must have gone mad. How could you think the editor would make changes all by itself! Perish the thought.
If you want a real good laugh highlight some plain text and apply Bold. Then highlight it again and remove Bold. Is the code as it was when you started? Not a chance. Sorry but that's the way it is, RH rewrites code to its own rules. I think we are all hoping for a change there in the next version.
I have seen instances where the true code view was not the same as in a text editor although that in fairness is unusual. Long time since I have seen it. Not much you can do but try opening it in other text editors such as Notepad to get another view.
Sorry but no real answer except that it's not you or your project. If it causes a problem, you might want to think about using a different editor.
Notepad shows the same code as Note Tab Light. Since the difference in appearance is simply a 'virtual redundancy', it's not problematic. Must be doing the same sort of voodoo as the kadov tags. It is an annoying feature, but now I know how to determine what the actual code really looks like.
Frequently, when I'm trying to troubleshoot a formatting problem in WebHelp, I find a lot of junk in the RH Truecode that results in strange html output.
For example, if you bold and unbold a lot of text in a paragraph, you can end up with unnecessary "font weight:normal" tags, or <span>....</span> strings.
Similarly, lists and bullets sometimes get messed up because RH loses track of where the <OL> and <UL> pieces start and end.
Some of of the code is there because the RH WYSIWYG editor needs it to display stuff the way it thinks it will look in the final WebHelp.
And need I remind anyone that converting topics from MS Word brings in a lot of Word tags that can screw up RH formating. To say nothing of tables?
When you have formatting problems, or a file seems bloated, look at it in Notepad, Wordpad, FAR or any good text editor.
(edited to fix "WYSIWYG")
Harvey is exactly right. I am cleaning up my imports and the difference is astronomical. Properly done your htm files can be half the size of the original import htms. It all depends on how much you use the style sheet when you start going though the code. While computers are getting very fast and powerful, it will amaze you at how much smoother pages load when they are cleaned up.
Don't be surprised if RH puts some of that stuff back in. It can't help itself here; some code is needed for display in RH but gets stripped on output.