Hello Monks,
I've created a find/replace script that works successfully by finding <TList.Bullet><TList.Item>sometext</TList.Item></TList.Bullet> and replacing it with <ul><li>sometext</li></ul>.
See code excerpt below:
my %findReplaceH = (However, in the output, I'm now getting blank spaces between tags, such as <ul> space <li> and </li> space </ul>.
Can I add something to this line in the script, q[<TList.Bullet>]=>q[<ul>], so the blank space will no longer appear after <ul>? Or, do I need to do the find/replace, and then remove the blank space?
Thanks for your help!
In reply to Remove blank space during find/replace by Melk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |