glossarist / glossarist/iev-data

Replace HTMLEntities gem

Open
#174 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

We use https://github.com/threedaymonk/htmlentities gem in some places. Let's replace it.

- This gem is slow as hell when used improperly (instantiates the same regexp over and over again, and that involves parsing its source)
- This gem isn't thread-safe
- This gem is no longer maintained (last release in 2015)
- This gem fails to recognize entities in some edge cases (bug reported 3ys ago)

Ridiculously, this gem has 80 millions downloads…

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating every use of the threedaymonk/htmlentities gem and checking how it is declared as a dependency. Compare the replacement against the gem's performance, thread-safety, maintenance, and entity-recognition concerns; done means the old gem is no longer used and affected behavior remains covered by the project's existing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.