summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorGuy Brand <gb@unistra.fr>2013-07-30 11:10:34 +0200
committerGuy Brand <gb@unistra.fr>2013-07-30 11:11:28 +0200
commit627fc03f93cc74f443af98f4fbf25564cc24d3fc (patch)
tree3274292410fa46c537d4a61929f7651e00a1c485 /inc
parent5f0edceddab88f91bec7fecf5efa606bbe273fb2 (diff)
downloadrpg-627fc03f93cc74f443af98f4fbf25564cc24d3fc.tar.gz
rpg-627fc03f93cc74f443af98f4fbf25564cc24d3fc.tar.bz2
Fix for the FS#1833 parser error
Diffstat (limited to 'inc')
-rw-r--r--inc/parser/parser.php4
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() {