Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Switch inner-text parsing to textContent from innerText #5514

Merged
merged 1 commit into from
Oct 30, 2021

Conversation

drewvolz
Copy link
Member

  • Fixes the Menu descriptions and Streams titles/descriptions
  • innerText was creating and returning an object whereas textContent returns a string

@drewvolz drewvolz requested review from hawkrives and rye October 29, 2021 21:39
@hawkrives
Copy link
Member

We should write tests too

@drewvolz
Copy link
Member Author

drewvolz commented Oct 30, 2021

I'm happy to write tests. I'm also starting to think this should be moved to the proxy server instead of it happening client-side.

Copy link
Member

@rye rye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I definitely agree with @hawkrives that this seems like a good candidate for testing.

@hawkrives
Copy link
Member

Let's merge this and file an issue to write tests? I'm also happy to move it to the server, assuming everything we use it on goes through there. (But it still needs tests at that point😁)

@drewvolz drewvolz merged commit dbd4552 into master Oct 30, 2021
@drewvolz drewvolz deleted the inner-text-content branch October 30, 2021 16:51
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants