Change handler to use a defined character for line-break replacement
This patch is the first in a series aimed at making it easier for DW to allow plugins to modify the standard handling of line-breaks. Currently the handler "eats" line-break characters replacing them with a space. This patch changes the replacement character to a define, DOKU_PARSER_EOL and updates all the test cases to use the new define. DOKU_PARSER_EOL is left as a space. darcs-hash:20080309201116-f07c6-21edb4f6955da8fa5ba0f9346d859a7c5c69a239.gz
Showing
- _test/cases/inc/parser/parser_eol.test.php 7 additions, 7 deletions_test/cases/inc/parser/parser_eol.test.php
- _test/cases/inc/parser/parser_footnote.test.php 5 additions, 5 deletions_test/cases/inc/parser/parser_footnote.test.php
- _test/cases/inc/parser/parser_headers.test.php 3 additions, 3 deletions_test/cases/inc/parser/parser_headers.test.php
- _test/cases/inc/parser/parser_lists.test.php 1 addition, 1 deletion_test/cases/inc/parser/parser_lists.test.php
- _test/cases/inc/parser/parser_quote.test.php 1 addition, 1 deletion_test/cases/inc/parser/parser_quote.test.php
- _test/cases/inc/parser/parser_table.test.php 2 additions, 2 deletions_test/cases/inc/parser/parser_table.test.php
- inc/parser/handler.php 3 additions, 1 deletioninc/parser/handler.php
Loading
Please register or sign in to comment