Stripping HTML with nVelocity?
Posted: Tue Jan 19, 2010 5:05 pm
Is it possible to use velocity to strip HTML tags? I'm trying to remove HTML tags from $Product.Description on 'Show Product 1.htm' and I've tried a number of different ways and it doesn't seem to be working.
Neither of these work:
Any other suggestions?
Neither of these work:
Code: Select all
$Product.Description.Replace("</?[^>]+/?>", "");
$Product.Description.replaceAll("</?[^>]+/?>", "");