#45 _TIstriplinks regex error

open
nobody
None
5
2005-03-21
2005-03-21
Anonymous
No

I only have a partial sol'n, but incase anyone can
figure it out before me, in _TIstriplinks it doesn't
match all links, consider the HTML:

<a name='1659294' href="URL" style='font-weight:bold'>
Link</a>

The problem is different types of quotes being used
(double for href and single for style). To work around
until i figure out a more appropriate regex I just did
a str_replace inside _TIstriplinks to transform all
double quotes to single quotes.

Anyone have any knowledge if this would be sufficient,
could cause unforseen problems, or if a new regex is in
order?

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks