cvs: pear /Text_Wiki/Text/Wiki/Rule table.php

From: Date: Sat, 22 May 2004 15:21:22 +0000
Subject: cvs: pear /Text_Wiki/Text/Wiki/Rule table.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-19761@lists.php.net to get a copy of this message
pmjones Sat May 22 11:21:22 2004 EDT Modified files: /pear/Text_Wiki/Text/Wiki/Rule table.php Log: process() returns two newlines after the table, not just one, to help with parsing paragraph breaks http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Rule/table.php?r1=1.2&r2=1.3&ty=u Index: pear/Text_Wiki/Text/Wiki/Rule/table.php diff -u pear/Text_Wiki/Text/Wiki/Rule/table.php:1.2 pear/Text_Wiki/Text/Wiki/Rule/table.php:1.3 --- pear/Text_Wiki/Text/Wiki/Rule/table.php:1.2 Sun May 2 09:12:43 2004 +++ pear/Text_Wiki/Text/Wiki/Rule/table.php Sat May 22 11:21:22 2004 @@ -16,7 +16,7 @@ // | Authors: Paul M. Jones <pmjones@ciaweb.net> | // +----------------------------------------------------------------------+ // -// $Id: table.php,v 1.2 2004/05/02 13:12:43 pmjones Exp $ +// $Id: table.php,v 1.3 2004/05/22 15:21:22 pmjones Exp $ /** @@ -172,7 +172,7 @@ $return .= $this->addToken(array('type' => 'table_end')); // we're done! - return "\n$return\n"; + return "\n$return\n\n"; } @@ -208,13 +208,13 @@ switch ($type) { case 'table_start': - return "<table border=\"$border\" " . + return "\n<table border=\"$border\" " . "cellspacing=\"$spacing\" " . "cellpadding=\"$padding\">\n"; break; case 'table_end': - return "</table>\n"; + return "</table>\n\n"; break; case 'row_start':

« previous php.pear.cvs (#19761) next »