• Resolved webalarm

    (@webalarm)


    Dear Support Team,

    I’m figuring out how to keep the linebreaks from the checkout Text area inputs, so they are displayed also in the order details page. e.g. when the customer needs to list names like that:

    Michael
    Julia
    Johannes
    Hannah

    it will not display the linebreaks in the order details page. It displays it without the linebreaks like “Michael Julia Johannes Hannah”.

    I googled for solutions, but we can’t fix that. But we found a function wc_sanitize_textarea() that could fix the problem – but how to use it?

    God bless you if you can help us with this little but big problem.

    Best Regards

    • This topic was modified 3 years, 11 months ago by webalarm.
    • This topic was modified 3 years, 11 months ago by webalarm.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Checkout Text Field + Order Details: Keep (hard) Linebreaks’ is closed to new replies.