Included Macro Strip Tags Fix

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
SELVOL
Posts: 15
Joined: Wed Oct 21, 2009 11:16 am

Included Macro Strip Tags Fix

Post 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
Post Reply