allowScriptAccess is a parameter for the flash player, not an HTML attribute, so it's unlikely that a module for handling HTML tags will support it.
| We're not surrounded, we're in a target-rich environment! |
|---|
| [reply] |
its an attribute that is passed in an object or embed html tag
all of the current tag handlers seem to support removing/blocking it... but none support rewriting it as I need to.
| [reply] |
ok. so no cpan modules seem to handle it outright.
it looks like i need to scrub text for tags in 1 pass, then come again and regex the flash
I'm a bit uneasy with perl and regexes (i know odd)... i've just grown custom to the python ones, where matches are objects that contain string position etc.
my $regex= qr/
<embed
\s*
(
[^"]*="[^"]*"
(:?\s)?
)+
\s*
(\/)?\s*>/ixm;
should match anything i toss at it.
but now i'm unsure.... how can i loop the text with that regex without doing an endless loop ( i'll be replacing in text that will pass that test , and i can't code around that )?
| [reply] [d/l] |