Home
last modified time | relevance | path

Searched refs:tidy (Results 1 – 25 of 55) sorted by path

123

/PHP-5.5/
H A D.gitattributes28 ext/tidy/tidy.c ident
144 /ext/tidy/tests/009.phpt -crlf
145 /ext/tidy/tests/013.phpt -crlf
146 /ext/tidy/tests/021.phpt -crlf
147 /ext/tidy/tests/tidy_error.phpt -crlf
H A DEXTENSIONS540 EXTENSION: tidy
H A DNEWS3762 . Fixed bug #54682 (tidy null pointer dereference). (Tony, David Soria Parra)
5294 - Fixed bug #50558 (Broken object model when extending tidy). (Pierrick)
7893 - Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores
8528 - Fixed bug #37418 (tidy module crashes on shutdown). (Tony)
9059 configuration options in tidy. (Patch by: nlopess@php.net)
9302 - Fixed bug #34965 (tidy is not binary safe). (Mike)
/PHP-5.5/ext/pcre/pcrelib/
H A DChangeLog1006 general tidy up of EBCDIC-related issues, and the documentation was also
1011 in a small tidy to the code.
1726 35. A minor code tidy in pcre_compile() when checking options for \R usage.
3606 capturing bracket numbers. This is a tidy that I avoided doing when I
4284 numeric error indication, but it has also enabled me to tidy up the way
/PHP-5.5/ext/tidy/
H A DCREDITS1 tidy
H A DREADME2 README FOR ext/tidy by John Coggeshall <john@php.net>
5 Tidy is an extension based on Libtidy (http://tidy.sf.net/) and allows a PHP developer
H A Dconfig.m45 PHP_ARG_WITH(tidy,for TIDY support,
6 [ --with-tidy[=DIR] Include TIDY support])
17 if test -f $i/include/tidy/tidy.h; then
19 TIDY_INCDIR=$i/include/tidy
20 elif test -f $i/include/tidy.h; then
32 PHP_ADD_LIBRARY_WITH_PATH(tidy, $TIDY_LIBDIR, TIDY_SHARED_LIBADD)
35 PHP_CHECK_LIBRARY(tidy,tidyOptGetDoc,
41 PHP_NEW_EXTENSION(tidy, tidy.c, $ext_shared)
H A Dconfig.w324 ARG_WITH("tidy", "TIDY support", "no");
7 if (CHECK_LIB("libtidy_a.lib;libtidy.lib", "tidy", PHP_TIDY) &&
9 CHECK_HEADER_ADD_INCLUDE("tidy.h", "CFLAGS_TIDY") ||
10 CHECK_HEADER_ADD_INCLUDE("tidy/tidy.h", "CFLAGS_TIDY", null, null, true) ||
11 CHECK_HEADER_ADD_INCLUDE("libtidy/tidy.h", "CFLAGS_TIDY", null, null, true)
13 EXTENSION("tidy", "tidy.c");
16 ADD_DEF_FILE("ext\\tidy\\php_tidy.def");
19 WARNING("tidy not enabled; libraries and headers not found");
H A Dphp_tidy.h37 ZEND_BEGIN_MODULE_GLOBALS(tidy)
40 ZEND_END_MODULE_GLOBALS(tidy)
/PHP-5.5/ext/tidy/examples/
H A Dcleanhtml5.php19 $tidy = tidy_parse_string($data); variable
21 $tidy = tidy_parse_file($_SERVER['argv'][1]); variable
24 $tidy->cleanRepair();
26 if(!empty($tidy->errorBuffer)) {
29 echo "{$tidy->errorBuffer}\n";
33 echo $tidy;
H A Ddumpit5.php15 $tidy = tidy_parse_file($_SERVER['argv'][1]); variable
21 $tree = $tidy->root();
/PHP-5.5/ext/tidy/tests/
H A D001.phpt2 Check for tidy presence
4 <?php if (!extension_loaded("tidy")) print "skip"; ?>
7 echo "tidy extension is available";
10 tidy extension is available
H A D002.phpt4 <?php if (!extension_loaded("tidy")) print "skip"; ?>
H A D003.phpt4 <?php if (!extension_loaded("tidy")) print "skip"; ?>
H A D004.phpt4 <?php if (!extension_loaded("tidy")) print "skip"; ?>
H A D005.phpt4 <?php if (!extension_loaded("tidy")) print "skip"; ?>
H A D006.phpt4 <?php if (!extension_loaded("tidy")) print "skip"; ?>
H A D007.phpt4 <?php if (!extension_loaded("tidy")) print "skip"; ?>
6 tidy.default_config=
9 $a = new tidy(dirname(__FILE__)."/007.html");
10 echo "Current Value of 'tidy-mark': ";
11 var_dump($a->getopt("tidy-mark"));
21 Current Value of 'tidy-mark': bool(false)
25 Warning: tidy::getOpt(): Unknown Tidy Configuration Option 'bogus-opt' in %s007.php on line 10
H A D008.phpt4 <?php if (!extension_loaded("tidy")) print "skip"; ?>
H A D009.phpt4 <?php if (!extension_loaded("tidy")) print "skip"; ?>
H A D010.phpt4 <?php if (!extension_loaded("tidy")) print "skip"; ?>
H A D011.phpt4 <?php if (!extension_loaded("tidy")) print "skip"; ?>
H A D012.phpt4 <?php if (!extension_loaded("tidy")) print "skip"; ?>
H A D013.phpt4 <?php if (!extension_loaded("tidy")) print "skip"; ?>
7 $tidy = new tidy(dirname(__FILE__)."/013.html", array("show-body-only"=>true));
8 $tidy->cleanRepair();
9 echo $tidy;
H A D014.phpt4 <?php if (!extension_loaded("tidy")) print "skip"; ?>
8 $tidy = tidy_parse_string($text, array('show-body-only'=>true));
9 tidy_clean_repair($tidy);
10 echo tidy_get_output($tidy);

Completed in 221 milliseconds

123