From 73c47f3d66730ad8d2529bfbb3f5d5cd747b3f87 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Tue, 1 Dec 2009 21:54:26 +0100 Subject: fix footnote tests (includes hack to counter #1652, #1699 fix) Ignore-this: c5a934d8bce1c2b5953632bedd0c4f64 darcs-hash:20091201205426-f07c6-e21cbc5f84a8702f074069eae3cab1aa4bdb50ea.gz --- inc/parser/handler.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'inc/parser/handler.php') diff --git a/inc/parser/handler.php b/inc/parser/handler.php index c9a4fd6d9..9fe5866ad 100644 --- a/inc/parser/handler.php +++ b/inc/parser/handler.php @@ -802,6 +802,8 @@ class Doku_Handler_Nest { $key = count($this->calls); if ($key and ($call[0] == 'cdata') and ($this->calls[$key-1][0] == 'cdata')) { $this->calls[$key-1][1][0] .= $call[1][0]; + } else if ($call[0] == 'eol') { + // do nothing (eol shouldn't be allowed, to counter preformatted fix in #1652 & #1699) } else { $this->calls[] = $call; } -- cgit v1.2.3