• Resolved sab4a

    (@sab4a)


    Hello, addon is awesome,

    However i have encountered problem with texts, when text seperates with enter button. on frontend it shows up as <br> .

    Please, tell me solution/upgrade plugin.

    Regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nenad Obradovic

    (@nenad-obradovic)

    Hi Sab4a,

    Could you please tell me which shortcode you use?
    I think this is happened because I added native WordPress escaping functions for text elements to prevent someone to fill malicious code. But just tell me which shortcode is the problem and I will tell you where to change code in plugin to allow <br /> tag.

    For example you need to change this code below
    <?php echo esc_html( $text ); ?>
    with this
    <?php echo wp_kses( $text, array( 'br' => true ) ); ?>

    Best regards,
    Nenad Obradovic

    Thread Starter sab4a

    (@sab4a)

    I’ve changed it. works now. thanks!

    Plugin Author Nenad Obradovic

    (@nenad-obradovic)

    You are welcome ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Text issue’ is closed to new replies.