text gets embedded as link in table

vadrek

New Member
\[code\]def create_email_body_ganglia(array,title,heading1,heading2,heading3,heading4) custom_rows ="" array.each_slice(4) do |row| custom_rows << "<tr><td>#{row[0]}</td><td>#{row[1]}</td><td>#{row[2]}</td><td>#{row[3]}</td></tr>" endmessage = <<MESSAGE_END\[/code\]I trying to form html tables dynamically, by inserting elements in from an array in ruby code and then emailing it .
But the email i get shows html content as links because the elements i insert are of the form xxx.com . Can I just make them look as text ?
 
Back
Top