Escape text in templates
Escape text in templates
Is there a way to escape text in the scriptlets? Example: $Product.Name includes quotation marks for some of our products. When we use the Product Name as an attribute, it cuts off the name and leads to invalid markup. Ideally we would like to replace the quotation marks with "
Re: Escape text in templates
Not sure that's possible. Have you tried enclosing the nVelocity variables in squiggly brackets like this? {$product.Name}
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com