AMO editor writes: "Please assign to textContent rather than innerHTML wherever applicable."
The content I assign to innerHTML is static, so this should not be a security issue. That said, perhaps I'll have to bite the bullet and write a number of appendChild calls to create all this content via DOM calls. As an added incentive this will enable me to localize it, #7 .
AMO editor writes: "Please assign to textContent rather than innerHTML wherever applicable."
The content I assign to innerHTML is static, so this should not be a security issue. That said, perhaps I'll have to bite the bullet and write a number of
appendChild
calls to create all this content via DOM calls. As an added incentive this will enable me to localize it, #7 .