summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorChris Smith <chris.eureka@jalakai.co.uk>2008-03-12 01:09:24 +0100
committerChris Smith <chris.eureka@jalakai.co.uk>2008-03-12 01:09:24 +0100
commit52fe2bfb49cad82b7f887b3dfa327f898720c4cd (patch)
treee2ecc2181db109d87025efcd32e5da77544312f7 /inc/parser
parent41624b31db8cad77ed1ee250631162613a1ca22b (diff)
downloadrpg-52fe2bfb49cad82b7f887b3dfa327f898720c4cd.tar.gz
rpg-52fe2bfb49cad82b7f887b3dfa327f898720c4cd.tar.bz2
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
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/handler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index 61c143bae..9f158e4a8 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -1,7 +1,7 @@
<?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 {