Boy, this is really getting stranger by the moment...every time I think I have solved a problem in RH, another layer of problems emerges...
I made the minor edits on my two master pages to get rid of the junk tags shown above and did a Save All. Here is the result (see screens below):
Master Page 1 After Edits
Master Page 2 After Edits
That's ALL I touched. However, now when I view any topic using these master pages with either the Preview mode (eyeglass icon) or as a final output file, the default text from those master pages displays on top of the topic. Interestingly enough, the master page text does NOT display in these topics in Design mode.
Preview Mode of Topic Using Master Page 1, Displaying Default Text from Master Page 1 on Top
Preview Mode of Topic Using Master Page 2, Displaying Default Text from Master Page 2 on Top
HTML View of Topic Using Master Page 1
HTML View of Topic Using Master Page 2
I'm crying "uncle" now - help!!
Update - I restored my two master page files from yesterday's backup (xxxxxx1.htt and xxxxx2.htt) and the topics are back viewing normally again. However, I still have the "junk" html code in them.
Any one know what value this "junk" code brings to RH, and how I can remove it without messing up the browser display of my topics?
If you remove the junk code and your page looks off, it seems the code was not junk after all
A script might help you here. It can do a fine grained remove of any tag that you don't want.
You are right Willam. I reviewed my HTML edits on my master pages and decided to only change <p class="TABLEBODY> to just plain <p>. Everything still works fine. Evidently, this was the real "junk code".
I guess the (<?rh-region_start type="body" ?> ) tag is required for my master pages for proper generation of HTML output files. The reason I thought this tag was junk code was that this tag does not show up in the default master page file (when viewing in HTML mode) when you open a new WebHelp project in RH. I wonder why?