javascript and ehlp introduced into source files
RH "stops responding" and closes-whenever it encounters one--making minor changes on a few topics has forced me to relaunch RH 30 times or more yesterday.
Projects were generated with different versions of RH (5, 6,7,8) and I've been updating them (I apply a common .css by selecting all the topics in the topic list to each project by filey . Some were taken out of the RH versioning server. I've been working several inherited projects that were hastily converted into single source RH HTML 8 projects. The conversion, I think, is introducing certain kinds of javascript? Until today, I thought the previous contributors were saving the published files because of messed up javascript.
<style type="text/css">/*<![CDATA[*/ A:visited {color: #800080;} A:link {color: #0000ff;}/*]]>*/</style>
(putting the above script into this forum message causes java another java function ($A(arguments))) to display in a tooltip for the cursor as I type)
The scripting is not in all topics; certain editing actions cause RoboHelp HTML to shut down--perhaps it is editing a topic that LINKS to such a topic; can't say for sure. I have had a dickens of a time cleaning the gunk out of files: I do know that some topics have kadov tags nested in HTML tags, nested inside css styles (i.e. 3 ways to indicate <b> bold.
I've put the css file through http://www.w3schools.com/site/site_validate.asp and when I run the validated css in the RH project, some styles get redefined. Any ideas on how to clean up the 990 topics in the project I'm working on this week?
I had the same kinds of issues on a different project last week. What is an effective way to clean the scripts out of topic files? The example above is broken into 2 to 6 lines, just before the <body> tag. Additonal js may occur in the footer, or in a numbered procedure. Not all topics, not all numered procedures. There are 3 kinds of < js start> < js end > tags in various files. I've been using InfoRapid Search and Replace (it can search across line breaks) but failed to spot EVERY script.
