Update DOM Functions to use unescapeEntities #104
Labels
No labels
Bug
Cleanup/Refactor
Core Feature
Documentation
Feature
Performance Improvement
Security Improvement
UX/Accessibility
Unreproducable Bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: rainbownapkin/canopy#104
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Update all DOM functions which inject text into elements to use the unescapeEntities() function into the textContent property.
This allows content which has been sanatized server-side to display properly, while also ensuring any content which somehow makes it through unsanitized is still handled safely.
added #101 as parent issue
Update DOM Functions to use unescapeEntriestoUpdate DOM Functions to use unescapeEntitieschanged the description
Updated client-side DOM manipulation functions to unescape char-codes before injecting them via innerText instead of raw-dogging it into innerHTML:
4ed4b572f2