diff options
author | Guy Brand <gb@unistra.fr> | 2013-07-30 11:10:34 +0200 |
---|---|---|
committer | Guy Brand <gb@unistra.fr> | 2013-07-30 11:11:28 +0200 |
commit | 627fc03f93cc74f443af98f4fbf25564cc24d3fc (patch) | |
tree | 3274292410fa46c537d4a61929f7651e00a1c485 /inc/parser/parser.php | |
parent | 5f0edceddab88f91bec7fecf5efa606bbe273fb2 (diff) | |
download | rpg-627fc03f93cc74f443af98f4fbf25564cc24d3fc.tar.gz rpg-627fc03f93cc74f443af98f4fbf25564cc24d3fc.tar.bz2 |
Fix for the FS#1833 parser error
Diffstat (limited to 'inc/parser/parser.php')
-rw-r--r-- | inc/parser/parser.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/parser.php b/inc/parser/parser.php index 915899f53..6aef3fda5 100644 --- a/inc/parser/parser.php +++ b/inc/parser/parser.php @@ -454,8 +454,8 @@ class Doku_Parser_Mode_table extends Doku_Parser_Mode { } function connectTo($mode) { - $this->Lexer->addEntryPattern('\n\^',$mode,'table'); - $this->Lexer->addEntryPattern('\n\|',$mode,'table'); + $this->Lexer->addEntryPattern('\s*\n\^',$mode,'table'); + $this->Lexer->addEntryPattern('\s*\n\|',$mode,'table'); } function postConnect() { |