• Resolved Peter Murbai

    (@peter-murbai)


    10.38/10.39 removes line breaks, tabs, and extra whitespace in the email Templates.

    To get them back change:

    sanitize_text_field to sanitize_textarea_field

    admin/settings.php

    line 64

    $this->subscribe2_options[ $key ] = sanitize_text_field( trim( $_POST[ $key ] ) );

    to

    $this->subscribe2_options[ $key ] = sanitize_textarea_field( trim( $_POST[ $key ] ) );

    You have to reconfigure your templates and save them again. But with this fix, they will saved again with breaks, tabs, and extra whitespaces.

    br

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Md. Yeasin

    (@mdmamun-1)

    Hi @peter-murbai,

    Thanks for creating this topic,
    No worries, we are going to check and fix such issues in a future release.

    Have a great day!

    Plugin Support Al Rubyat

    (@rubyat13)

    Hi @peter-murbai ,

    We just released a fully revamped version of Subscribe2. We have tested it in every possible way and it’s working fine. Hope this will work for?you?too.

    If you still facing any issue, please let us know.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘fix for templates in settings page (line breaks, tabs were lost)’ is closed to new replies.