Jakub Narebski <jnareb@xxxxxxxxx> writes: > The idea of doing committag parsing, and preserving replacements > from matching committag and being subject to HTML escaping by using > reference to string has it's merits. > > I'd have to think about it. Good. My obviously buggy illustration would be easier to read with this patch ;-). --- gomi 2006-09-23 13:47:52.000000000 -0700 +++ gomi 2006-09-23 13:48:23.000000000 -0700 @@ -2,7 +2,7 @@ my @input = (@_); my @output; for (@input) { - if (!ref $_) { + if (ref $_) { push @output, $_; next; } @@ -19,6 +19,9 @@ } $_ = $post; } + if ($_ ne '') { + push @output, $_; + } } return @output; } - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html