Dealing with cell values containing HTML?

Sep 2, 2010 at 9:01 PM

Hi all.

Wondering how best to deal with cell values which contain HTML like   or images? The values are being used to construct an HTML table, or an excel file, depending on what the user clicks, basically.

I'm thinking for the images, find some way to go through and replace the image tags, and use the new PHPExcel_Worksheet_Drawing() for the images, but not sure how I should deal with other HTML. Just strip it out? or convert it somehow?