small medium large xlarge

09 Jan 2009, 06:30
Terjin TJ Dhillon (13 posts)

Hello everyone,

I was looking through the code in the book and in the early stages we are introduced to the h method and then we stripped it out from the show template because it was printing out the html tags that we were adding to the product description.

If you’re like me and would like to have the nice formatting that the paragraph tag provides, then you could use the sanitize helper.

Alternatively, you could also use Ricks whitelist plugin that you could get from his svn repo…

Just a thought!

You must be logged in to comment