in reply to HTML::Parser Skip Style Content
Update: This would not work if there are nested style tags. In that case, use an array as a stack for your "flag", and push a value on it on every style start tag, pop when you hit the end tag. As long as the array contains anything, you're inside style tags.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HTML::Parser Skip Style Content
by almut (Canon) on Mar 09, 2010 at 21:07 UTC | |
by runrig (Abbot) on Mar 09, 2010 at 23:22 UTC | |
by spickles (Scribe) on Mar 18, 2010 at 15:01 UTC |