Problems with new functionality in the DJ-Megamenu Light v. 4.3.1

Problems with new functionality in the DJ-Megamenu Light v. 4.3.1

Version (4.3.1) has an option that allows you to choose whether or not to display the description of a menu item when used in conjunction with a menu icon. It's a welcome option, but it would be better if it doesn't render a span tag, in case you choose not to display the menu description.

It turns out that this <span> ends up inserting an extra margin in the menu which messes up my layout.

See: Version 4.2.1:

  1. <li class="dj-up itemid413 first current active" role="none" data-key="">
  2.   <a class="dj-up_a active " href="/" aria-label="Home" role=" menuitem" tabindex="-1">
  3.     <span>
  4.       <span class="dj-icon icon-home" aria-hidden="true" title="Home"></span>
  5.     </span>
  6.   </a>
  7. < /li>

Version 4.3.1

  1. <li class="dj-up itemid413 first" role="none" data-key="">
  2.   <a class="dj-up_a " href="/" aria-label="Home" role="menuitem" tabindex ="0">
  3.     <span>
  4.       <span class="dj-icon icon-home" aria-hidden="true" title="Home"></span>

  5.       <span class="image-title" style="margin -left: 0px;"></span>  <--- Problem here 
  6.         Ps.: I believe that if I selected not to display any description, there shouldn't be any tags, as is done in the previous version

  7.     </span>
  8.   </a>
  9. </li>