[wp-trac] Re: [WordPress Trac] #4755: WordPress should use code from the modified kses at Sourceforge.net

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 2 11:15:44 GMT 2007


#4755: WordPress should use code from the modified kses at Sourceforge.net
--------------------------+-------------------------------------------------
 Reporter:  alpha2zee     |        Owner:  anonymous
     Type:  enhancement   |       Status:  new      
 Priority:  normal        |    Milestone:  2.4      
Component:  Optimization  |      Version:           
 Severity:  normal        |   Resolution:           
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by alpha2zee):

 This kses mod has evolved into
 [http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php
 htmLawed].

 * highly and easily customizable

 * ~45 kb single-file, non-OOP code with peak basal memory usage of ~0.5 MB

 * improved tag balancing, entity checks and conversions

 * remains kses-compatible

 * NEW: transformation of deprecated tags/attributes

 * NEW: anti-email/link spam measures

 * NEW: absolute/relative URL conversions

 * NEW: filtering/conversion of bad characters introduced by Microsoft
 Word, etc.

 * etc... see
 [http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/htmLawed_README.htm
 htmLawed documentation]

 A testing script is in the
 [http://bioinformatics.org/phplabware/downloads/htmLawed.zip download];
 htmLawed can also be
 [http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/htmLawedTest.php
 tried online].

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4755#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list