On Tue, 10 Apr 2007 09:20:22 +0300
Issac Goldstand <[EMAIL PROTECTED]> wrote:
> $buf = ${$f->ctx}{leftover}.$buf if defined(${$f->ctx}{leftover});
> (prepend f->ctx->leftover onto buf)
>
> and anything leftover that doesn't include a full HTML tag goes to
>
> ${$f->ctx}{leftover} = $buf || undef;
Define "a full HTML tag".
As in, for instance
<img
src = "arrow.gif"
alt = " --> "
>
The point being, it's not a trivial task (and that's without
putting things like the above in a comment or cdata section
where its semantics are completely different, etc).
--
Nick Kew
Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/