• Hi,

    I have a problem with conditional groups leaving P and BR instead of empty space.
    That is creating gaps.
    The weird thing is, that it happens only in email which is sent to site owner and not to the client (second email).

    i have tried add_filter( ‘wpcf7_autop_or_not’, ‘__return_false’ ); with no effect.
    If I use table tr td then it leaves as many td as there is condition groups in the email body. Same for P and BR.

    Any advice ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    A similar bug has been reported. I will look into it and it should be fixed with the next update.

    Plugin Author Jules Colle

    (@jules-colle)

    I checked, but it’s not easy to fix.

    You might want to consider writing your email like this:

    [group-1] bla bla bla
    [/group-1][group-2] bla bla bla
    [/group-2][group-3] bla bla bla
    [/group-3][group-4] bla bla bla[/group-4]

    instead of this:

    [group-1] bla bla bla [/group-1]
    [group-2] bla bla bla [/group-2]
    [group-3] bla bla bla [/group-3]
    [group-4] bla bla bla [/group-4]
    Thread Starter Mastafu Design

    (@mastafu)

    Strange, because like I said, its fine in second email, not working properly only in first email box.

    Plugin Author Jules Colle

    (@jules-colle)

    The thing is that Contact Form 7 follows a different procedure to compose the second email than the first one. It looks like a really weird programming decision, but it is what it is ??

    Plugin Author Jules Colle

    (@jules-colle)

    oh wait it’s fixed ??

    Thread Starter Mastafu Design

    (@mastafu)

    Well done! Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Conditions leave br and p in email body’ is closed to new replies.