Skip to content

Conversation

@Machy8
Copy link
Contributor

@Machy8 Machy8 commented Jan 17, 2018

  • bug fix? no
  • new feature? yes

Description

  • Added method removeAttributes for removing multiple attributes
  • Why: for example when converting html element to the Amp html element, sometimes is necessary to remove multiple (by Amp disabled) attributes like frameborder, allowfullscreen or scrolling
  • There is already a method for setting multiple attributes but non for removing multiple attributes so it means to create loops in order to remove them

@dg
Copy link
Member

dg commented Feb 6, 2018

Thanks

@dg dg merged commit 365fe6b into nette:master Feb 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants