Bug: Payment icons HTML are duplicated in Debut theme - causes W3C validation error

We are seeing an issue with duplicated content (and specifically duplicate id fields) in the debut theme footer, see below HTML:


---

  

    

      

        Payment methods
        

          - 

          - 

          - 

          - 

          - 

          - 

          - 
        

      

    

    
      

        - [Facebook
            ](https://www.facebook.com/XX)
        

        - [Twitter
            ](https://twitter.com/XX)
        

        - [YouTube
            ](https://www.youtube.com/c/XX)
        
      

    

    
      

        Payment methods
        

          - 

          - 

          - 

          - 

          - 

          - 

          - 
        

      

    

    
      <small>© 2021, XX</small>
      <small>[ ](https://www.shopify.com?utm_campaign=poweredby&utm_medium=shopify&utm_source=onlinestore)</small>
    

  

This seems to be an issue in the original Footer code, but we’re unable to determine why this happens. Does anyone know how to fix this to avoid the id duplication? This currently causes W3C validation errors.

Seems that removing the below line from the Footer.liquid solves this at the cost of the payment icons not showing up on mobile (but thus fixing the duplication issue).

{{ payment_icon_markup }}