eoftedal/helmet.js — pull request #2 by mathiasbynens (2013-08-23 11:34:08+00:00)
Title: escapeHtmlAttribute: Support U+0100 to U+FFFF

After this change, `helmet.escapeHtmlAttribute` works correctly for code points in the range from U+0100 to U+FFFF.

helmet.escapeHtmlAttribute('☃');
// before this patch:
// → "" which is incorrect
// after this patch:
// → "☃" which is correct

Support for astral symbols (U+010000 to U+10FFFF) is still missing, though. See #1.