Re: [PHPTAL] Does stripComments() work?

2008-11-10 Thread Werner
Hi Hmmm, this makes me wonder... the first thing that jumps to mind is that one would consider caching a template's meta-/config data together with the template itself, in order to detect configuration / state changes since the last cached call? There will probably be a slight performace pena

Re: [PHPTAL] Does stripComments() work?

2008-11-10 Thread romtek
On Mon, Nov 10, 2008 at 6:21 AM, Kornel Lesiński <[EMAIL PROTECTED] > wrote: > On 10-11-2008 at 08:26:02 romtek <[EMAIL PROTECTED]> wrote: > > I just used stripComments(true) on my template object but didn't see any >> effect. The output still contained HTML comments. Does this method not >> work

Re: [PHPTAL] Does stripComments() work?

2008-11-10 Thread Kornel Lesiński
On 10-11-2008 at 08:26:02 romtek <[EMAIL PROTECTED]> wrote: I just used stripComments(true) on my template object but didn't see any effect. The output still contained HTML comments. Does this method not work or have I misunderstood its purpose? Comments are stripped before template it parse

Re: [PHPTAL] Does stripComments() work?

2008-11-10 Thread Werner
Hi Roman I use it all the time, and it works fine (even on my last checked-our revision, which is not t old). How about a short example of how you used it? Kind Regards, Werner romtek wrote: Hi, I just used stripComments(true) on my template object but didn't see any effect. The outp

[PHPTAL] Does stripComments() work?

2008-11-10 Thread romtek
Hi, I just used stripComments(true) on my template object but didn't see any effect. The output still contained HTML comments. Does this method not work or have I misunderstood its purpose? Roman ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http