Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_xhtmlcleanup
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19684/serendipity_event_xhtmlcleanup
Modified Files:
serendipity_event_xhtmlcleanup.php
Log Message:
debugging code, anyone? ;)
Index: serendipity_event_xhtmlcleanup.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_xhtmlcleanup/serendipity_event_xhtmlcleanup.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- serendipity_event_xhtmlcleanup.php 9 Aug 2004 08:47:01 -0000 1.5
+++ serendipity_event_xhtmlcleanup.php 9 Aug 2004 08:49:08 -0000 1.6
@@ -85,9 +85,7 @@
switch($event) {
case 'frontend_display':
foreach ($this->markup_elements as $temp) {
- echo 'Checkking XHTML cleanup<br/>';
if (serendipity_db_bool($this->get_config($temp['name'], true)) && isset($eventData[$temp['element']])) {
- echo 'Applying XHTLM cleanup.<br />';
$element = $temp['element'];
$this->cleanup_tag = 'IMG';
$this->cleanup_checkfor = 'ALT';
@@ -113,7 +111,6 @@
// Takes an input tag and search for ommitted attributes. Expects a single tag (array, index 0)
function clean_tag($data) {
- echo 'Clean tag:<br/>' . htmlentities(print_r($data, true)) . '<br/>';
// Restore tags from preg_replace_callback buffer, as those can't be passed in the function header
$tag = &$this->cleanup_tag;
$checkfor = &$this->cleanup_checkfor;
|