diff options
author | Chris Smith <chris.eureka@jalakai.co.uk> | 2009-12-01 21:54:26 +0100 |
---|---|---|
committer | Chris Smith <chris.eureka@jalakai.co.uk> | 2009-12-01 21:54:26 +0100 |
commit | 73c47f3d66730ad8d2529bfbb3f5d5cd747b3f87 (patch) | |
tree | 79a996a2cba126f544c3c3474f1c510252afc766 /inc/parser | |
parent | 91c115b682b9006259195d90d285ed5687f4b42c (diff) | |
download | rpg-73c47f3d66730ad8d2529bfbb3f5d5cd747b3f87.tar.gz rpg-73c47f3d66730ad8d2529bfbb3f5d5cd747b3f87.tar.bz2 |
fix footnote tests (includes hack to counter #1652, #1699 fix)
Ignore-this: c5a934d8bce1c2b5953632bedd0c4f64
darcs-hash:20091201205426-f07c6-e21cbc5f84a8702f074069eae3cab1aa4bdb50ea.gz
Diffstat (limited to 'inc/parser')
-rw-r--r-- | inc/parser/handler.php | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |