Skip to content
Snippets Groups Projects
Commit 37c80e0e authored by LarsDW223's avatar LarsDW223
Browse files

Section edit: corrected pattern 'SEC_EDIT_PATTERN'

This fixes broken nested section edit buttons which were causing
invalid HTML code. The pattern has to be 'not greedy'. Fixes #2304.
parent fcbc6130
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
if(!defined('DOKU_INC')) die('meh.');
if(!defined('NL')) define('NL',"\n");
if (!defined('SEC_EDIT_PATTERN')) {
define('SEC_EDIT_PATTERN', '#<!-- EDIT({.*}) -->#');
define('SEC_EDIT_PATTERN', '#<!-- EDIT({.*?}) -->#');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment