Clarification on why <button> tag is among blacklistedtags list in diffservice.js for showing version difference | Community
Skip to main content
New Member
September 18, 2024
Question

Clarification on why <button> tag is among blacklistedtags list in diffservice.js for showing version difference

  • September 18, 2024
  • 0 replies
  • 391 views

Hi,

I am looking into page html version diff functionality of aem and in that all tags except <button> tag's difference was not getting highlighted. I debugged that the diffservice.js which is responsible for this functionality has an array of blacklistedtags among which button is one. For my use case I overlayed the js and removed 'button' from the list and it works fine. I am curious to know why it was added there in the first place and if any impact will happen due to my removal of it.

 

Thanks in advance!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.