[EMAIL PROTECTED] (Justin Mason) writes:

>> I think we need to be more generic, handling any /\s*\/>/ --
>> the same problem occurs with other tags such as "<p/>", etc.
>> A still-not-100%-but-closer version would be:
>> 
>> $text =~ s@<([^>]*)\s*/>@<$1>@g;
> 
> worth a try; I can't see any reason why not.

We have a list of valid tags, let's use it.  At least make sure it's a
tag.  The above is bound to have lot of problems.

Daniel

-- 
Daniel Quinlan
http://www.pathname.com/~quinlan/

Reply via email to