Added check for data values to ensure they are not nil before calling html_safe on them.
Added check for data values to ensure they are not nil before calling html_safe on them.

jls/jewelicms,jls/jewelicms