[Vtigercrm-commits] [vtiger development] #7764: In HTML Email Templates, Style tags in HEAD section are getting erased

vtiger development vtiger-tickets at trac.vtiger.com
Wed Sep 11 12:14:43 UTC 2013


#7764: In HTML Email Templates, Style tags in HEAD section are getting erased
-----------------------+------------------------
 Reporter:  Marcel     |      Owner:  developer
     Type:  defect     |     Status:  new
 Priority:  major      |  Milestone:  Unassigned
Component:  vtigercrm  |    Version:  6.0.0 Beta
 Severity:  Medium     |   Keywords:
-----------------------+------------------------
 In template emails I create a html template and place some style
 information in the <head>. See below. When I save the template, the
 preview looks OK. When I then edit it again, the style information has
 been deleted.
 How can I ensure the this is not overwritten without storing templates
 outside of Vtiger?

 <html>
 <head>
 <style type="text/css">
 p {font-family:"Arial"; font-size:12px; line-height:normal;}
 table {border-collapse:collapse; table-layout:fixed; width:100%}
 table, td {font-family:"Arial"; font-size:12px; padding:0;}
 td.column_1 {width:50px;}
 td.column_2 {}
 #footer {font-family:"Arial"; font-size:9px;}</style>
 <title></title>
 </head>
 <body>
 <p>
 This is the first line</p>
 <p>
 This is the second line</p>
 <table>
 <tbody>
 <tr>
 <td class="column_1">
 This is the first column in a table</td>
 <td class="column_2">
 This is the 2nd column in a table</td>
 </tr>
 </tbody>
 </table>
 <p id="footer">
 This is a footer</p>
 </body>
 </html>

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7764>
vtiger development <http://trac.vtiger.com/>
vtiger CRM


More information about the vtigercrm-commits mailing list