I'm trying to set the value of a variable to be a complete table housing all the HTML I need to build a clickable image, title, and button. For brevity, I currently have:
VAR @featureTitle SET @featuretitle = "<table width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"> <a href="http://www.example.com/url" title="Name of Article" alias="Name of Article" conversion="false" data-linkto="http://"> Name of Article </a> </td> </tr> </table>" ]%%
However, it doesn't show up. It doesn't render any the content if I include the style attribute or an
<a> tag. It seems that I can only set small and simple HTML tags like:
VAR @featureTitle SET @featuretitle = "<h1>Name of Article</h1>" ]%%
How can I achieve the results I'm looking for, or anything similar?