Archived
1
0

textile patch

This commit is contained in:
Garvin Hicking
2007-11-26 10:47:35 +00:00
parent 6708a45e3b
commit b2ca4938fb
2 changed files with 4 additions and 4 deletions
@@ -466,8 +466,8 @@ class Textile
function fList($m)
{
$text = explode("\n", $m[0]);
foreach($text as $line) {
$nextline = next($text);
foreach($text as $nr => $line) {
$nextline = isset($text[$nr+1]) ? $text[$nr+1] : false;
if (preg_match("/^([#*]+)($this->a$this->c) (.*)$/s", $line, $m)) {
list(, $tl, $atts, $content) = $m;
$nl = '';