Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.174.794 Times

HTML::Sanitizer 0.04

  Date Added: May 02, 2010  |  Visits: 1.286

HTML::Sanitizer

Report Broken Link
Printer Friendly Version


Product Homepage
Download (104 downloads)



HTML::Sanitizer is a HTML Sanitizer. SYNOPSIS my $safe = new HTML::Sanitizer; $safe->permit_only( qw/ strong em /, a => { href => qr/^(?:http|ftp):/, title => 1, }, img => { src => qr/^(?:http|ftp):/, alt => 1, }, b => HTML::Element->new(strong), ); $sanitized = $safe->filter_html_fragment($evil_html); # or my $tree = HTML::TreeBuilder->new->parse_file($filename); $safe->sanitize_tree($tree); ABSTRACT This module acts as a filter for HTML. It is not a validator, though it might be possible to write a validator-like tool with it. Its intended to strip out unwanted HTML elements and attributes and leave you with non-dangerous HTML code that you should be able to trust..

Requirements: No special requirements
Platforms: Linux
Keyword: Html Html Sanitizer Htmlsanitizer Libraries Programming
Users rating: 0/10

License: Freeware Size: 9.22 KB
USER REVIEWS
More Reviews or Write Review


HTML::SANITIZER RELATED
Libraries  -  HTML::Scrubber 0.08
HTML::Scrubber is a Perl extension for scrubbing/sanitizing html. SYNOPSIS #!/usr/bin/perl -w use HTML::Scrubber; use strict; # my $html = q[ BAD { background: #666; color: #666;} alert(Hello, I am EVIL!); a => link br => b =>...
17.41 KB  
Libraries  -  Template::Library::HTML 2.15
Template::Library::HTML is a template library for building basic HTML pages. NOTE: This documentation is incomplete and may be incorrect in places. The html template library is distributed as part of the Template Toolkit. It can be found in the...
778.24 KB  
Libraries  -  Blatte::HTML 0.9
Blatte::HTML is a Perl module that contains tools for generating HTML with Blatte. SYNOPSIS use Blatte; use Blatte::Builtins; use Blatte::HTML; $perl = &Blatte::Parse(...string of Blatte code...); $val = eval $perl;...
14.34 KB  
Libraries  -  Template::Magic::HTML 1.39
Template::Magic::HTML Perl module contains HTML handlers for Template::Magic used in a HTML environment. SYNOPSIS $tm = new Template::Magic::HTML ; # that means $tm = new Template::Magic markers => HTML , value_handlers => HTML ; # that...
46.08 KB  
Libraries  -  Debian::Package::HTML 0.1
Debian::Package::HTML is a Perl module that generates a webpage information (and Linda/Lintian checks) about a Debian binary or source package using HTML::Template SYNOPSIS use strict; use Debian::Package::HTML; my $package =...
5.12 KB  
Libraries  -  YAPE::HTML 1.11
YAPE::HTML is Yet Another Parser/Extractor for HTML. SYNOPSIS use YAPE::HTML; use strict; my $content = " ... "; my $parser = YAPE::HTML->new($content); my ($extor,@fonts,@urls,@headings,@comments); # here is the tokenizing...
19.46 KB  
Libraries  -  Text::MetaMarkup::HTML 0.01
Text::MetaMarkup::HTML is a MM-to-HTML converter. SYNOPSIS use Text::MetaMarkup::HTML; print Text::MetaMarkup::HTML->new->parse(file => $filename); This module extends Text::MetaMarkup and converts the parsed document to HTML....
6.14 KB  
Libraries  -  HTML::Perlinfo::HTML 1.47
HTML::Perlinfo::HTML Perl module contains HTML documentation for the perlinfo library. SUMMARY NOTE: THIS IS THE LAST RELEASE OF THIS MODULE IN THIS NAMESPACE. WHEN THE NEXT VERSION APPEARS, OLDER VERSIONS WILL BE DELETED FROM CPAN In the...
27.65 KB  
Libraries  -  iCal::Parser::HTML 1.06
iCal::Parser::HTML is a Perl module to generate HTML calendars from iCalendars. SYNOPSIS use iCal::Parser::HTML; my $parser=iCal::Parser::HTML->new; print $parser->parse(type=>$type,start=>$date,files=>[@icals]); This module uses...
50.18 KB  
Libraries  -  Syntax::Highlight::HTML 0.04
Syntax::Highlight::HTML is a Perl module to highlight a HTML syntax. SYNOPSIS use Syntax::Highlight::HTML; my $highlighter = new Syntax::Highlight::HTML; $output = $highlighter->parse($html); If $html contains the following HTML fragment:...
16.38 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB