5 this plugin makes ewiki mimic the (more text paragraph oriented)
6 markup style of newer PhpWiki versions
7 * text style triggers (bold or italic) work over multiple lines
8 * some markup (lists) can be continued after line breaks
14 $ewiki_plugins["format_source"][] = "ewiki_format_text_in_paragraphs";
17 function ewiki_format_text_in_paragraphs(&$wiki_source) {
19 $wiki_source = preg_replace('/(?<!\n)\n([^-!*#\t;: \n])/', ' $1', $wiki_source);