diff options
author | Sebastian Silva <sebastian@sugarlabs.org> | 2011-10-12 01:03:11 (GMT) |
---|---|---|
committer | Sebastian Silva <sebastian@sugarlabs.org> | 2011-10-12 01:03:11 (GMT) |
commit | 1a4267444e34ad5e8a90864e396d851f083571b0 (patch) | |
tree | 47943f818b6a573ed3debf4c2b3153a194d51ff2 /websdk/static/js/wymeditor/plugins/tidy/.svn/text-base/tidy.php.svn-base | |
parent | fe1a1eb79bf0f1df8bbc56d2402e32061af79d06 (diff) |
Tidy up and make Gecko default.
Diffstat (limited to 'websdk/static/js/wymeditor/plugins/tidy/.svn/text-base/tidy.php.svn-base')
-rw-r--r-- | websdk/static/js/wymeditor/plugins/tidy/.svn/text-base/tidy.php.svn-base | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/websdk/static/js/wymeditor/plugins/tidy/.svn/text-base/tidy.php.svn-base b/websdk/static/js/wymeditor/plugins/tidy/.svn/text-base/tidy.php.svn-base deleted file mode 100644 index 23b9bec..0000000 --- a/websdk/static/js/wymeditor/plugins/tidy/.svn/text-base/tidy.php.svn-base +++ /dev/null @@ -1,36 +0,0 @@ -<?php - -if (get_magic_quotes_gpc()) $html = stripslashes($_REQUEST['html']); -else $html = $_REQUEST['html']; - -if(strlen($html) > 0) { - - // Specify configuration - $config = array( - 'bare' => true, - 'clean' => true, - 'doctype' => 'strict', - 'drop-empty-paras' => true, - 'drop-font-tags' => true, - 'drop-proprietary-attributes' => true, - 'enclose-block-text' => true, - 'indent' => false, - 'join-classes' => true, - 'join-styles' => true, - 'logical-emphasis' => true, - 'output-xhtml' => true, - 'show-body-only' => true, - 'wrap' => 0); - - // Tidy - $tidy = new tidy; - $tidy->parseString($html, $config, 'utf8'); - $tidy->cleanRepair(); - - // Output - echo $tidy; -} else { - -echo ('0'); -} -?> |