in reply to Re: Pondering Portals
in thread Pondering Portals
I use HTML::Scrubber on one of my sites, the only problem I have with it (which I was vaguely thinking of posting as a new question only yesterday) is that I see no way to enforce attribute inclusion.
Say the user submits:
<a href="http://example.com">text</a>I would like to automatically insert, or mandate, the xrel="nofollow" attribute and value - I can't see a simple way of doing this short of re-using the HTML::Parser, or a fragile regexp.
That's the only shortcoming I see with HTML::Scrubber.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Pondering Portals
by bmann (Priest) on May 01, 2005 at 06:09 UTC | |
by skx (Parson) on May 01, 2005 at 16:24 UTC |