• Resolved witho

    (@witho)


    Hi,

    I see that you fixed a bug with the line breaks but now my generated PDFs are not including the break lines (neither if I write \n inside a line break).

    Can you help me?

    My PDF begins like this:

    Booking Form Online details:

    First name: [bf_first_name]
    Surname: [bf_last_name]
    Address: [bf_address]
    Phone: [bf_phone]
    Email: [bf_email]
    Passport/ Id card: [bf_number_id]

    And have the “Desactivate line break…” options with NO. I tested changing this options, but the preview of the PDF does not change.

    I have updated my plugin with your Github version (1.0.1.9), but still the same issue.

    Thanks!

    • This topic was modified 11 months, 1 week ago by witho.

    The page I need help with: [log in to see the link]

Viewing 16 replies (of 16 total)
  • Thread Starter witho

    (@witho)

    Sorry to bother you again but the email is still not working well.

    I see that you add this line:

    $messageText = str_replace("\r\n", "<br />", $messageText);

    And I think the right one would be this one:

    $messageText = str_replace("\n", "<br />", $messageText);

    Test it and let me know.

    Thanks again!

Viewing 16 replies (of 16 total)
  • The topic ‘PDF break lines not working’ is closed to new replies.