diff --git a/inc/parser/parser.php b/inc/parser/parser.php
index e5a58f336d9bd8980f007ee767d6343e46134890..0465f86bd4d03df8a8601987cfa07a51abaa6628 100644
--- a/inc/parser/parser.php
+++ b/inc/parser/parser.php
@@ -223,7 +223,7 @@ class Doku_Parser_Mode_header extends Doku_Parser_Mode {
     function preConnect() {
         //we're not picky about the closing ones, two are enough
         $this->Lexer->addSpecialPattern(
-                            '[ \t]*={2,6}[^\n]+={2,}[ \t]*(?=\n)',
+                            '[ \t]*={2,}[^\n]+={2,}[ \t]*(?=\n)',
                             'base',
                             'header'
                         );