We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a91255 commit f20ad4bCopy full SHA for f20ad4b
xoops_trust_path/modules/xpwiki/ways/w2x_php5.php
@@ -828,7 +828,7 @@ function HeadingEx(& $root, $text)
828
if (preg_match('/\s*\[#([_0-9a-zA-Z]+)\]/', $text, $matches)) {
829
$this->id = $matches[1];
830
}
831
- $text = preg_replace('/\s*\[#_0-9a-zA-Z+\]/', '', $text);
+ $text = preg_replace('/\s*\[#[_0-9a-zA-Z]+\]/', '', $text);
832
833
$this->insert(Factory_InlineEx($text));
834
$this->level++; // h2,h3,h4
0 commit comments