• wwwcre8r

    (@wwwcre8r)


    We have three tabs output on a page, all have an HTML <br> tag in the tab titles. This issue only affects the first tab… on the first tab, the <br> tag is rendered as <br> on the front-end, but for the other two, the break tag is properly working as a line break.

    Here’s the rendered code from dev tools:

    <ul>
    <li class="mobile_toggle" style="display: none;">Leverage Strategic<br>Capital Partnerships</li>
    <li class="current" style="display: inline-block;"><a style="background:#ba0319" class="active digital-infrastructure-tab-link-0" href="#" data-tab="#digital-infrastructure-tab-0">Leverage Strategic<br>Capital Partnerships</a></li>
    <li style="display: inline-block;"><a href="#" data-tab="#digital-infrastructure-tab-1" class="digital-infrastructure-tab-link-1" style="background-color: transparent;">Maximize Financial and<br>Operational Efficiency</a></li>
    <li style="display: inline-block;"><a href="#" data-tab="#digital-infrastructure-tab-2" class="digital-infrastructure-tab-link-2" style="background-color: transparent;">Move-In Ready, Dedicated,<br>SLA-Backed Data Center Space </a></li></ul>

    Note that in the WP admin back-end, when using the “Instant preview” button, it is rendered correctly.

    Not sure why only on the first tab, the <br> is rendered as <br>

    Any thoughts?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter wwwcre8r

    (@wwwcre8r)

    Is there an update to resolve this, it is a production issue for our client.

    I’ve removed the <br> from the first tab title for now, per the client; but we need a resolution please.

    Again, only the first tab’s title is outputting & lt ; br & gt ;
    and end-users are seeing that as <br>

    (I’ve added spaces to the code above so that you can see, it was being converted to <br> tag in my first post)

    I am seeing the same issue. HTML in the first tab title is replaced by character entities that print the code vs the intended HTML. Any suggestions for a fix?

    Thread Starter wwwcre8r

    (@wwwcre8r)

    Do I need to purchase a license to get support/ a response on this reported issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTML is rendered in tab titles as <br>’ is closed to new replies.