Hacker GitHub

← All repos

mathiasbynens/he

View on GitHub ↗ ★ 3,613 JavaScript

A robust HTML entity encoder/decoder written in JavaScript.

3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2015-03-30 · latest 2021-05-08

Mentions per year 3 mentions · busiest year 2015 (1)
20082026
  1. …in the fix does in fact appear to be a straightforward implementation based around a regex. https://github.com/mathiasbynens/he/blob/master/src/he.js
  2. …well as left-behind html tags/entities [3]. 1. https://github.com/MachinePublishers/ScreenSlicer 2. https://github.com/mathiasbynens/he 3. https://github.com/MachinePublishers/ScreenSlicer/blob/maste...