You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivation
In #2977, I added a pretty hacky way to get the text content of an HTML string. This was necessary because the method has to work in both browsers and NodeJS and should behave consistently across environments.
Description
Add a method to get the text content of an HTML string. It has to be:
Safe: No script execution or left-over tags
Correct: No left-over tags or entities
Consistent: Same result in all browsers/environments.
The text was updated successfully, but these errors were encountered:
Motivation
In #2977, I added a pretty hacky way to get the text content of an HTML string. This was necessary because the method has to work in both browsers and NodeJS and should behave consistently across environments.
Description
Add a method to get the text content of an HTML string. It has to be:
The text was updated successfully, but these errors were encountered: