Skip to content
Snippets Groups Projects
Commit 52fe2bfb authored by Chris Smith's avatar Chris Smith
Browse files

change line-break replacement character to '\n'

This patch is the third in a series aimed at making it easier for DW to allow
plugins to modify the standard handling of line-breaks.

It effectively leaves the new-line character '\n' in the 'cdata' instruction
allowing the renderer to process the character as it chooses. No changes have
been made to the renderers.

This change is neutral to xhtml renderers as xhtml treats spaces and new-lines
identically (as white-space).

Writers of renderer plugins are advised to check their plugin against the new
patch.

darcs-hash:20080312000924-f07c6-a6dab2d16c7bc42e9dc8eb137648c6f984b4f2e6.gz
parent 41624b31
No related branches found
No related tags found
No related merge requests found
<?php
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../../').'/');
if (!defined('DOKU_PARSER_EOL')) define('DOKU_PARSER_EOL'," "); // add this to make handling test cases simpler
if (!defined('DOKU_PARSER_EOL')) define('DOKU_PARSER_EOL',"\n"); // add this to make handling test cases simpler
class Doku_Handler {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment