Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Nav menus sanitizing HTML

Discussion in 'Misc WordPress Requests' started by seezee, Feb 6, 2018.

  1. seezee


    Nav menus sanitizing HTML, by seezee

    Something changed on my site & now menu labels that used to allow HTML are sanitizing them. I use FontAwesome 5 icons in my labels like this: <i class="fas fa-fw fa-info-circle" aria-hidden="true"></i>About

    A few days ago the angle brackets started to convert to HTML entities, i.e., &lt; and &gt;, which screws up the FontAwesome icons. Was there a change to core to prevent HTML in menu labels, or do I need to start looking at pluginss?

    Nav menus sanitizing HTML

Share This Page

Monarch Social Sharing Plugin