Hallo,
ich möchte den im WYSIWYG-Editor erstellen Newsletter-Content in eine Tabellenzelle des Templates einfügen:Der Newsletter besteht ebenfalls aus einer Tabelle:Code:<tr> <td colspan="2"> <?php echo $this->body; ?> </td> </tr>Im fertigen Newsletter müsste der Code also wie folgt aussehen:Code:<table style="background-color: #ffffff; margin: 0px auto; width: 470px;" cellspacing="0" cellpadding="0"> <tbody> [...] </tbody> </table>Tatsächlich wird jedoch eine neue Zeile geöffnet, deren Herkunft ich mir nicht erklären kann:Code:<tr> <td colspan="2"> <table style="background-color: #ffffff; margin: 0px auto; width: 470px;" cellspacing="0" cellpadding="0"> <tbody> [...] </tbody> </table> </td> </tr>Dieser Code wird übrigens immer um den Content gesetzt, ganz gleich, ob ich im Template eine Zelle öffne oder nicht. Weil in dem zusätzlichen Code ein colspan="2" fehlt, wird der Newsletter falsch dargestellt.Code:<tr> <td colspan="2"> <tr> <td valign="top" class="ce_text text"> <table style="background-color: #ffffff; margin: 0px auto; width: 470px;" cellspacing="0" cellpadding="0"> <tbody> [...] </tbody> </table> </td> </tr> </td> </tr>
Hat jemand eine Idee, wie ich dieses Problem lösen kann? Ich habe vorerst im Template vor und nach dem Newsletter-Body eine weitere Tabelle geöffnet/geschlossen, aber das kann ja eigentlich nicht Sinn der Sache sein:Code:<tr> <td colspan="2"> <table width="470" border="0" cellpadding="0" cellspacing="0" style="margin:0"> <tbody> <?php echo $this->body; ?> </tbody> </table> </td> </tr>



