New Landing How can we help? Themeforest Theme Support Joyn SPF builder, Google Maps – Maps pin strips html formatting

Viewing 3 posts - 1 through 3 (of 3 total)
  • Posted in: Joyn
  • #269159
    nosuchagency
    Member
    Post count: 226

    Hello.

    When trying to fill out information in the Google Maps Pin, the system strips all <br> tags, so our address and phone info is on one line, without breaks…

    How to fix that?

    Video of issue attached.

    Thank you.

    #269318
    nosuchagency
    Member
    Post count: 226

    Followup.

    I can see the video attached exceeded max allowed size – So you can find it here: https://youtu.be/Cj3Cfl5BQYA

    Let me know if you need further information.

    Thank you.

    #269996
    David Martin – Support
    Moderator
    Post count: 20834

    Unfortunalty, this is tricky to do within a child theme.

    Locate line 897 within the /wp-content/plugins/swift-framework/includes/page-builder/shortcodes/media.php

    data-content="' . strip_tags( $content ) . '"

    Change to:

    data-content="' . strip_tags( $content, '<br>' ) . '"

    This will allow your <br> tag to not get removed.

    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.