Support » Plugin: Squelch Tabs and Accordions Shortcodes » h3 gets stripped from accordion content

  • Resolved trink79

    (@trink79)


    it seems that the accordion will not allow heading 3 tags in the content. it replaces them with divs.

    [accordion title="Number 1"]
    <h3>My Heading</h3>
    the rest of my content
    [/accordion]

    becomes

    <div>My Heading</div>
    the rest of my content

    all other heading level tags remain intact. why the removal of the h3? i don’t want to start with h4 because then i would be skipping heading levels which is poor practice for accessibility.

    https://wordpress.org/plugins/squelch-tabs-and-accordions-shortcodes/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Matt Lowe

    (@squelch)

    The plugin doesn’t strip <h3> tags. Something else is going on.

    trink79

    (@trink79)

    Thanks you for the very speedy response. After doing some digging it turns out our theme developer put in a script to make the replacement.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘h3 gets stripped from accordion content’ is closed to new replies.