to_str to convert to foundation-compatible html