Quarantining crap HTML?

Philip Skinner me at philip-skinner.co.uk
Tue May 21 13:14:04 BST 2013


You can specify the content of an iframe using a javascript call in the src:

<iframe src="javascript:'<html><body><b>hurrah, another 
iframe</b></body></html>';"></iframe>

On 05/21/2013 01:57 PM, Ben Vinnerd wrote:
> You could try putting it in <iframe> (which doesn't support inline html, so
> you'd have to load it with src="/path/to/buggered_html_loader")
>
>
>
> On 21 May 2013 12:31, Dave Hodgkinson <daveh at hodgkinson.org> wrote:
>
>> In keeping with the spirit of the list, this isn't directly a perl question
>> but it might be part of the solution.
>>
>> I'm picking up HTML from another site, and that HTML is pretty crappy.
>>
>> Is there any way of quarantining it so it doesn't bugger up the rest of the
>> page?
>>
>>
>>
>>



More information about the london.pm mailing list