Blog

Squiz Matrix Asset Name: Two Ways To Do It

Wed, Oct. 5, 2011

One thing that people might not realize is that asset names can be printed in two ways. The first converts the ampersand into HTML entities and the second one does not. Both cases are useful for their own purposes.

%asset_name% 

// This automatically turns & into &
// This is always useful when printing for HTML
%asset_attribute_name% 

// This will NOT convert & to &
// This can be used if you are creating a different format, such as a .csv or .ics file
Nicholas Hubbard
Owner

Add Comment