equal
deleted
inserted
replaced
269 $i++; |
269 $i++; |
270 if ( $i == 5 ) |
270 if ( $i == 5 ) |
271 break; |
271 break; |
272 $text = RenderMan::include_templates($text); |
272 $text = RenderMan::include_templates($text); |
273 } |
273 } |
|
274 |
|
275 // Before shipping it out to the renderer, replace spaces in between headings and paragraphs: |
|
276 $text = preg_replace('/<\/(h[0-9]|div|p)>([\s]+)<(h[0-9]|div|p)( .+?)?>/i', '</\\1><\\3\\4>', $text); |
274 |
277 |
275 $text = process_tables($text); |
278 $text = process_tables($text); |
276 $text = RenderMan::parse_internal_links($text); |
279 $text = RenderMan::parse_internal_links($text); |
277 |
280 |
278 $wiki =& Text_Wiki::singleton('Mediawiki'); |
281 $wiki =& Text_Wiki::singleton('Mediawiki'); |