Jaf
Posts: 70
Joined: 2/1/2006 Status: offline
|
There isn't an explicit option for this, but you can pretty much achieve this effect by using the "Text Commands" feature. To do this create a text file (e.g. "text_commands.inc") and in this place the single line replace_text string "<br>" by_string " " Next, run Detagger and select the menu option Conversion Options -> Configuration files -> Text Commands file and use the tab that comes up to locate the file you just created. Now when you next run the conversion the Text Commands in the file you've identified are executed against the text before the main conversion takes place. In this case all occurrences of "<br>" are replaced by a single space before the conversion is done, meaning the converter never sees these tags, and so never pays any attention to them. If you save your options as a policy file when prompted to on exit from Detagger, you'll be able to reload these settings again next time you run the program. On the Settings -> Use of policy files menu option you can even make this the default each time you run the software. This effectively removes all the <br> tags from your source. However, this isn't selective, it will remove them from everywhere in your file. I note that in the sample you quote the text is contained in a table. Although the above approach will remove the line breaks caused by the <br> tags, you'll possibly find that the text is still formatted according to the width constraints generated by the table. But that's another issue....
|