Skip to content

Replace HTMLEntities gem #174

Description

@skalee

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…

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions