Copy link to clipboard
Copied
Using robohelp html v10 on win 7
I want to clean up some html in a project imported from framemaker.
In this example i want to find all instances of <li><p> and replace all with <li>
here is an example:
<ol style="list-style: decimal;">
<li><p>Merge any data files and select the merged file.</p></li>
<li><p>From the Channel/SSID List, click the Channel tab and highlight
the channels adjacent to each other, such as Channels 1, 2, 3, or
4, 5, 6, etc.</p></li>
<li><p>From the Data Type drop-down menu, click Ch. Interference.</p></li>
<li><p>On the Legend bar, set the minimum interference level to be
shown. This ensures that only areas that exceed a certain amount of
interference are displayed.</p></li>
</ol>
A global find/replace on the project level is not finding the string, however, if I first select the text shown above in design view and click "clear formatting" and then do the global find/replace, it finds only that text and makes the change.
I have this same issue trying to do a global replace from <td><p> to <td> in tables
Kind of frustrating not to be able to make this change globally.
Any idea what is happening? Any solution?
Copy link to clipboard
Copied
How are you doing the global search?
Find and Replace in Files should search for <li><p> and replace with <li> then search for </p></li> and replace with </li>
Do back up first as that sort of operation can wreck a project in seconds if you didn't get something quite right.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
i inserted a scrn shot of the find/ replace configuration. below the scrn shot is the full html text for a topic where the string is NOT found although the string is in the html. Following the topic text is my explanation of how doing "clear formatting" on the topic makes it possible for find/change to find the string and make the change.
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="topic-check-list" content="Ran Smart Index" />
<meta name="build tags" content="Survey_Only" />
<meta name="generator" content="Adobe RoboHelp 10" />
<title>Switching to Sensor Deployment Mode</title>
<link rel="StyleSheet" href="../style.css" type="text/css" />
</head>
<body>
<h1>Switching to Sensor Deployment Mode</h1>
<p style="font-weight: bold;">To switch to Sensor Deployment Mode:</p>
<ol style="list-style: decimal;">
<li><p>From the Display view, select File>Open Project. The <span
style="font-weight: bold;">Open</span> dialog box appears.</p></li>
</ol>
<p style="margin-left: 40px;"><img src="../open-survey-project-dialog.jpg"
alt="" style="border: none;" width="200"
height="128" border="0" /></p>
<ol start="2" style="list-style: decimal;">
<li><p>Find and open the .svp (Survey project) file that contains the
data for (the part of) the WLAN.</p></li>
</ol>
<p style="margin-left: 40px;"><img src="../12-2.jpg" alt="" style="border: none;"
width="500" height="400" border="0" /></p>
<ol start="3" style="list-style: decimal;">
<li><p>From the Project Window, click the .svd (Survey Data) file to
load it. The survey data will appear in the Map Window once the data
are loaded.</p></li>
</ol>
<p style="margin-left: 40px;"><img src="../12-3.jpg" alt="" style="border: none;"
width="500" height="530" border="0" /></p>
<ol start="4" style="list-style: decimal;">
<li><p>After the data are loaded, click File>AirMagnet Sensor Deployment
Mode.</p></li>
</ol>
<p style="margin-left: 40px;"><img src="../12-4.jpg" alt="" style="border: none;"
width="200" height="365" border="0" /></p>
<p>Now the program will switch to the Sensor Deployment view, which contains
the tools and commands for Sensor deployment.</p>
</body>
</html>
Next, in design view, i selected the text from the first ordered list number (1) to the bottom and performed format>clear formatting. Then did the find/replace and it found the string and made the change. here is the same topic after the find/change changes:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="topic-check-list" content="Ran Smart Index" />
<meta name="build tags" content="Survey_Only" />
<meta name="generator" content="Adobe RoboHelp 10" />
<title>Switching to Sensor Deployment Mode</title>
<link rel="StyleSheet" href="../style.css" type="text/css" />
</head>
<body>
<h1>Switching to Sensor Deployment Mode</h1>
<p style="font-weight: bold;">To switch to Sensor Deployment Mode:</p>
<ol style="list-style: decimal;">
<li>From the Display view, select File>Open Project. The Open dialog
box appears.</li>
</ol>
<p><img src="../open-survey-project-dialog.jpg" alt="" border="0" /></p>
<ol start="2">
<li>Find and open the .svp (Survey project) file that contains the
data for (the part of) the WLAN.</li>
</ol>
<p><img src="../12-2.jpg" alt="" border="0" /></p>
<ol start="3">
<li>From the Project Window, click the .svd (Survey Data) file to load
it. The survey data will appear in the Map Window once the data are
loaded.</li>
</ol>
<p><img src="../12-3.jpg" alt="" border="0" /></p>
<ol start="4">
<li>After the data are loaded, click File>AirMagnet Sensor Deployment
Mode.</li>
</ol>
<p><img src="../12-4.jpg" alt="" border="0" /></p>
<p>Now the program will switch to the Sensor Deployment view, which contains
the tools and commands for Sensor deployment.</p>
</body>
</html>
Copy link to clipboard
Copied
I just set up a simple test and it worked as it should so I don't know what is preventing that for you.
Import a couple of topics that are causing this problem into a new project. Do they still cause problems?
When you do a search where the string is not found, do you get a dialog to confirm that?
See www.grainge.org for RoboHelp and Authoring tips