• Resolved egornmore

    (@egornmore)


    Hello,

    Can you please guide me on how to code a sanitizer to remove the form tag from the restricted descendant_tag_list in amp-mega-menu component? I was trying to follow the documentation but got stuck.

    And another question, how I can apply sanitizers in AMP playground, is it possible?

    Thanks in advance !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @egornmore

    Thank you for contacting us, I have created a sample code that removes form tags from amp-mega-menu.

    Please check and customize it as you needed, also let me know if you need any help.

    Regarding AMP playground it only process and validate the output (HTML) and does not have anything to do with AMP WordPress plugin sanitizers.

    You will needed to paste the output (HTML) directly into playground.

    We hope this helps!

    • This reply was modified 1 year, 10 months ago by Milind More.
    Thread Starter egornmore

    (@egornmore)

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sanitizer for amp-mega-menu’ is closed to new replies.