[PHPTAL] < > signs in content as text
Kornel Lesiński
kornel at aardvarkmedia.co.uk
Thu Nov 20 16:35:59 CET 2008
On 20-11-2008 at 15:23:30 Szymek Przybył <apocalyptiq at gmail.com> wrote:
> Is there some way to add automatically
> /*<![CDATA[*/
> /*]]>*/
> on start and end of js scripts?
You can write regular expression that does it and hook it up using
phptal->setPreFilter().
If you have decent text editor that supports snippets/macros, I suggest
using that instead.
--
regards, Kornel
More information about the PHPTAL
mailing list