Page 1 of 1

Included Macro Strip Tags Fix

Posted: Fri Jun 08, 2012 1:21 pm
by SELVOL
This is a suggestion to fix the stock "Strip Tags" macro included with Textpad.

The problem

Code: Select all

<b>Citation</font></td><td><b>Cit Date</font>
Can, and in my case does become .

Code: Select all

CitationCit Date
The Solution:

Adding this to the macro. Or creating a Macro to run before "Strip Tags"
That does creates a space before and after <>.

Search and replace

Code: Select all

"<"(with)" <"
Search and replace

Code: Select all

">"(with)"> "
That is the short fix.
You could also add
Search and replace

Code: Select all

">  "(with)"> "
Search and replace

Code: Select all

"  <"(with)"< "
To clean up some of the created Double Spaces.

Just wanted to point this out.....

Thank you
Selvol
http://Sketchlab.com