in reply to Re: Re: regex: deleting empty (x)html tags
in thread regex: deleting empty (x)html tags
Besides the fact that you never answered why you need to strip empty elements, or that you don't even seem to care about where they come from, i would say that given your set of constraints that you are stuck with the solution you have discovered for yourself. Personally, i strive to work in an environment where i control such issues, but then again, i am not developing "web tools" for the general public to use. My audience for my free code is experienced Perl programmers (i write CPAN modules) and i make a living by working for clients with specific needs.
If i were pushing this product out, i would look into bundling HTMLTidy along with the application, but that's just me. ;)
Best of luck to you, and if we help you in the future (you solved this one yourself ... this time >:)) and you make some money as a result of it, please don't be shy. ;)
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: regex: deleting empty (x)html tags
by CrysC (Novice) on Feb 15, 2004 at 20:37 UTC |