• Hi,

    WordPress 4.1 and CF7 4.1.

    Random P tags are being added to HTML email, which is messing up the layout. How can I remove these?

    So far I have tried using define( 'WPCF7_AUTOP', false ); which did nothing. I have also tried another fix in functions.php from an old thread which didn’t work. Minifying the html to remove any spaces/tabs/enters didn’t work either, it’s still adding p tags at random places, and sometimes it’s not even closing them anyway e.g:

    <p> <!-- /content --> </td>
    <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
    </tr>
    </table>
    <p></body></html></p>

    Does anyone know a definitive way to stop this behaviour?

    Thanks

    [ No bumping please. ]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘HTML email still adding p / br tags’ is closed to new replies.