Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8832

Is there some kind of escaping? Transformation outputting string literals

$
0
0
Hi All, I have the following transformation{% transformationToRender = (Cache(Documents[NodeAliasPath].Parent.LightBoxLayout, 5, true, @Parent|@ + NodeAliasPath, GetCacheDependency(@nodes|@site name@|@page type code name@|all@)) ? @CMS.ImageDescription.LightBoxImageDescription@ : @CMS.ImageDescription.NestedImageDescription2Col@); %} {% Object.ApplyTransformation(transformationToRender, @ContentBefore@, @ContentAfter@) #%} When the transformation is rendered to screen it spits out anything in strings @@i.e.ContentBefore ContentAfter and the result of the if statement as well as outputting the expected transformation.Is there some kind of special escaping required to make this work without outputting the string literals?

Viewing all articles
Browse latest Browse all 8832

Trending Articles