# HG changeset patch
# User Dan
# Date 1269963296 14400
# Node ID 31d226269d2ff10af237f35ee6b006915d563e95
# Parent 9e9334417dbc1bd2cd6fa7cdf5c4358c3560931c
Renderer: fixed the regex that looks for h-tags in reverse_process_headings so it looks forthe new format #head: IDs.
diff -r 9e9334417dbc -r 31d226269d2f includes/render.php
--- a/includes/render.php Mon Mar 29 01:47:31 2010 -0400
+++ b/includes/render.php Tue Mar 30 11:34:56 2010 -0400
@@ -574,7 +574,7 @@
public static function reverse_process_headings($text)
{
- if ( !preg_match_all('|^(.*?)$|m', $text, $matches) )
+ if ( !preg_match_all('|^(.*?)$|m', $text, $matches) )
return $text;
foreach ( $matches[0] as $i => $match )