Diamond - MVC / Template engine
Bauss via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Tue May 24 08:00:34 PDT 2016
On Tuesday, 24 May 2016 at 14:57:03 UTC, Bauss wrote:
> On Tuesday, 24 May 2016 at 14:54:27 UTC, Bauss wrote:
>> On Tuesday, 24 May 2016 at 13:09:28 UTC, Kagamin wrote:
>>> The values are injected unescaped by default?
>>
>> Yes. To escape there is the escape function.
>>
>> Take a look at the comparison for the result.
>>
>> I'm going to figure out a syntax for escaping though, so
>> there'll be one for both.
>>
>> Not sure what symbols to use though. @$=value_to_escape; is
>> probably going to be the result.
>
> Note: If you have a better suggestion, feel free to come with
> one :)
No wait I forgot it already is possible.
Using @(value_to_escape)
More information about the Digitalmars-d-announce
mailing list