MAIN-1879: Sanitize element attributes for forms
Merge pull request #2997 from Wikia/MAIN-1879

MAIN-1879: Sanitize element attributes for forms