From 41624b31db8cad77ed1ee250631162613a1ca22b Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Wed, 12 Mar 2008 01:02:48 +0100 Subject: Update handler to merge consecutive 'cdata' instructions (incl. test case updates) This patch is the second in the series designed to make it easier for DW to allow plugins to modify the standard handling of line-breaks. Like the first this patch doesn't alter line-break behaviour at all, but introduces improvements that reduce to a minimum the number of 'cdata' instructions generated by the handler. darcs-hash:20080312000248-f07c6-f6ce1b5aac43a52cbe31215c517b048679ae20a7.gz --- _test/cases/inc/parser/parser_table.test.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '_test/cases/inc/parser/parser_table.test.php') diff --git a/_test/cases/inc/parser/parser_table.test.php b/_test/cases/inc/parser/parser_table.test.php index 155909b0c..9ec7dab4f 100644 --- a/_test/cases/inc/parser/parser_table.test.php +++ b/_test/cases/inc/parser/parser_table.test.php @@ -278,8 +278,7 @@ def'); $calls = array ( array('document_start',array()), array('p_open',array()), - array('cdata',array(DOKU_PARSER_EOL)), - array('cdata',array("abc")), + array('cdata',array(DOKU_PARSER_EOL."abc")), array('p_close',array()), array('table_open',array(3,2)), array('tablerow_open',array()), @@ -306,8 +305,7 @@ def'); array('tablerow_close',array()), array('table_close',array()), array('p_open',array()), - array('cdata',array('def')), - array('cdata',array(DOKU_PARSER_EOL)), + array('cdata',array('def'.DOKU_PARSER_EOL)), array('p_close',array()), array('document_end',array()), ); -- cgit v1.2.3