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