Re: "ignore" a section
Ronald Kimball <[email protected]> Mon, 7 Mar 2016 08:01:04 -0600
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <CANk-PWhHyQ-skzXXynzT3ttYDmCoYTgpY4zaMA_h4TeZmYPUCA@mail.gmail.com> |
--===============5943432364029806369== Content-Type: multipart/alternative; boundary=001a1139c64440c35c052d75e5e4 --001a1139c64440c35c052d75e5e4 Content-Type: text/plain; charset=UTF-8 This is probably something simple. What does your template look like right now? On Sun, Mar 6, 2016 at 4:50 PM, Aaron Macks <[email protected]> wrote: > I've got to add some javascript into a template, and the $ in the js > code is getting interpolated incorrectly. How do I disable > interpolation for a block of code, or simply tell TT, "just print this > code unprocessed"? > > Thanks > Aaron > -- > _______________________________________________________ > Aaron Macks([email protected]) [http://www.wiglaf.org/~aaronm ] > My sheep has seven gall bladders, that makes me the King of the Universe! > > _______________________________________________ > templates mailing list > [email protected] > http://mail.template-toolkit.org/mailman/listinfo/templates > -- *Ronald J Kimball* Senior Developer - www.snapapp.com | Facebook <http://www.facebook.com/snapapp> *|* Twitter <http://www.twitter.com/snap_app> --001a1139c64440c35c052d75e5e4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">This is probably something simple.=C2=A0 What does your te= mplate look like right now?</div><div class=3D"gmail_extra"><br><div class= =3D"gmail_quote">On Sun, Mar 6, 2016 at 4:50 PM, Aaron Macks <span dir=3D"l= tr"><<a href=3D"mailto:[email protected]" target=3D"_blank">upelluri@gm= ail.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D= "margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've go= t to add some javascript into a template, and the $ in the js<br> code is getting interpolated incorrectly.=C2=A0 How do I disable<br> interpolation for a block of code, or simply tell TT, "just print this= <br> code unprocessed"?<br> <br> Thanks<br> <span class=3D"HOEnZb"><font color=3D"#888888">Aaron<br> --<br> _______________________________________________________<br> Aaron Macks(<a href=3D"mailto:[email protected]">[email protected]</a>) [<a= href=3D"http://www.wiglaf.org/~aaronm" rel=3D"noreferrer" target=3D"_blank= ">http://www.wiglaf.org/~aaronm</a> ]<br> My sheep has seven gall bladders, that makes me the King of the Universe!<b= r> <br> _______________________________________________<br> templates mailing list<br> <a href=3D"mailto:[email protected]">templates@template-toolki= t.org</a><br> <a href=3D"http://mail.template-toolkit.org/mailman/listinfo/templates" rel= =3D"noreferrer" target=3D"_blank">http://mail.template-toolkit.org/mailman/= listinfo/templates</a><br> </font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b= r><div class=3D"gmail_signature"><font style=3D"font-family:arial,FreeSans,= Helvetica,sans-serif;font-size:14px;line-height:20px;background-color:rgb(2= 55,255,255)" color=3D"#333333"><b>Ronald J Kimball</b></font><br style=3D"c= olor:rgb(136,136,136);font-family:arial,FreeSans,Helvetica,sans-serif;font-= size:14px;line-height:20px;background-color:rgb(255,255,255)"><font style= =3D"font-family:arial,FreeSans,Helvetica,sans-serif;font-size:14px;line-hei= ght:20px;background-color:rgb(255,255,255)" color=3D"#333333">Senior Develo= per</font><font style=3D"font-family:arial,FreeSans,Helvetica,sans-serif;fo= nt-size:14px;line-height:20px;background-color:rgb(255,255,255)" color=3D"#= 3366FF"><br></font><span style=3D"font-family:arial,FreeSans,Helvetica,sans= -serif;line-height:20px;background-color:rgb(255,255,255);color:rgb(51,51,5= 1)"><span style=3D"font-size:14px"><img src=3D"http://cdn.mgsrvr.com/stock/= snap_applogo.png" height=3D"17" width=3D"96">=C2=A0-=C2=A0</span><a href=3D= "http://www.snapapp.com/" style=3D"color:rgb(28,81,168);font-size:14px" tar= get=3D"_blank">www.snapapp.com</a>=C2=A0|=C2=A0</span><span style=3D"font-f= amily:arial,FreeSans,Helvetica,sans-serif;line-height:20px;background-color= :rgb(255,255,255);color:rgb(51,51,51)"><a href=3D"http://www.facebook.com/s= napapp" style=3D"color:rgb(28,81,168)" target=3D"_blank">Facebook</a>=C2=A0= <b>|</b>=C2=A0<a href=3D"http://www.twitter.com/snap_app" style=3D"color:rg= b(28,81,168)" target=3D"_blank">Twitter</a></span> </div> </div> --001a1139c64440c35c052d75e5e4-- --===============5943432364029806369== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates --===============5943432364029806369==--