artanis
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Templates : <% or <%= ?


From: mulei
Subject: Re: Templates : <% or <%= ?
Date: Wed, 3 Feb 2021 22:48:49 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

Hi Jérémy!

<% will just run the Scheme code, but <%= will display the result to the HTML.
If you want to show the result on the page, you should <%=

Best regards.


On 1/29/21 8:52 PM, Jérémy Korwin-Zmijowski wrote:
Hello Artanis folks !

Wish you are safe and well.

I don't understand exactly when I need to use <% or <%=.
What is the difference between the two ?
Actually I always try <% first, if it fails, I try <%=, and if it fails
I… Think haha.

Thank you !

Jérémy









reply via email to

[Prev in Thread] Current Thread [Next in Thread]