 _workspace[0] | split: '>' | first }}>{% endcapture %}
        {% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}

        {% if include.item_class and include.item_class != blank %}
            {% capture listItemClass %} class="{{ include.item_class | replace: '%level%', currLevel | split: '.' | join: ' ' }}"{% endcapture %}
        {% endif %}

        {% if include.submenu_class and include.submenu_class != blank %}
            {% assign subMenuLevel = currLevel | minus: 1 %}
            