• Resolved rainbowlada

    (@rainbowlada)


    Hi, I am trying to create an FAQ page, and I’m running into an issue with inserting white space into my accordion descriptions. For example, on this page: if you look under Payments and Refunds -> Can I return an item for a refund? I’m trying to put in whitespace so that the mailing address looks like a mailing address rather than just all on one line. It looks fine in the Accordion Editor in both visual and text mode; however, when it publishes it all looks like one line. I tried using the <br> tag in the text mode of the Accordion Editor, but it gets stripped out once I click away from it. What am I missing?

    • This topic was modified 1 year, 4 months ago by rainbowlada.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Praveen

    (@praveenmalav09)

    Hi @rainbowlada,

    Please follow these steps go to plugin file editor > Responsive Accordion And Collapse > lib > admin > data-post > ac-save-data.php line no. 13

    Replace this code

    $accordion_desc = stripslashes(wp_kses_post($_POST['accordion_desc'][$i]));

    to

    $accordion_desc = stripslashes($_POST['accordion_desc'][$i]);

    After than try to use <br> tag.

    Thanks

    Thread Starter rainbowlada

    (@rainbowlada)

    Hi @praveenmalav09,

    Thank you! This worked perfectly.

    Praveen

    (@praveenmalav09)

    Hi @rainbowlada,

    Glad to hear that your issue has been resolved if you like our plugin then please rate it.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WYSIWYG Editor stripping tags’ is closed to new replies.