PHP Classes

File: profiles/tidy.php

Recommend this page to a friend!
  Classes of Jill Lingoff  >  Sweeper  >  profiles/tidy.php  >  Download  
File: profiles/tidy.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Sweeper
Clean HTML to remove unwanted tags and attributes
Author: By
Last change:
Date: 1 year ago
Size: 508 bytes


Class file image Download

return array(

// execution macro: this defines the methods you want to call, each and every one of these "cleans" something
    // call the methods how many times you want, change the order as needed
'macro' => array(
//'tidy_code', // macro automatically tidies at the start
'use_local_DTD' => true,
//'local_DTD' => 'DTD' . DIRECTORY_SEPARATOR . 'xhtml1-strict.dtd',

'character_entity_encoding_type' => 'named', // 'named', 'decimal', 'hexadecimal' or it defaults to raw


For more information send a message to info at phpclasses dot org.