A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mail-archive.com/html5lib-discuss@googlegroups.com/msg00160.html below:

Patch for optional stripping tags during sanitization

Hi Sam.

I have the patches and tests ready and running. I was wondering as to
where I could send them out. Other than the original patch I also
added the capability to strip entire block-level node trees using the
same technique as used for the whitelist. I realize that it goes
against the whitelisting only policy however I felt that for some tags
(in my patch script and style tags) it might be justified. Also those
can be overriden quite easily setting the
HTMLSanitizer.unacceptable_block_elements = [].
Thanks.
AM

On Jan 30, 6:09 am, "Sam Ruby" <[EMAIL PROTECTED]> wrote:
> On Jan 29, 2008 5:57 PM, aseem <[EMAIL PROTECTED]> wrote:
>
>
>
> > I have attached the patch both for the .10 branch (which I currently
> > use) and trunk for the python implementation only.
> > [snip]
> > At this time I have not added any
> > tests for this, but will do so as soon as I can understand the
> > tests :)
>
> Once the tests are ready, I would be glad to both commit this change
> and port it to Ruby.
>
> - Sa Ruby
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"html5lib-discuss" group.
 To post to this group, send email to html5lib-discuss@googlegroups.com
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.com/group/html5lib-discuss?hl=en-GB
-~----------~----~----~----~------~----~------~--~---


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4