| @@ -25,7 +25,7 @@ | ||
| 25 | 25 | |
| 26 | 26 | $title = $extra_vars['_page_title'] ?? $matches[1]; | 
| 27 | 27 | |
| 28 | -        $html = preg_replace_callback('/<h([1-3])>([^<]+)<\/h[1-3]>/i', function ($matches) { | |
| 28 | +        $html = preg_replace_callback('/<h([1-3])>([^<]+)<\/h[1-3]>/i', function($matches) { | |
| 29 | 29 | $level = $matches[1]; | 
| 30 | 30 | $htitle = $matches[2]; | 
| 31 | 31 | $slug = slugify($htitle); |