jprichardson / string.js

Extra JavaScript string methods.
http://stringjs.com
1.81k stars 234 forks source link

Fix issue #192 (escapeHtml accepting null values) #193

Closed ewrogers closed 1 year ago

ewrogers commented 8 years ago

The escapeHtml() and unescapeHtml() methods now return null when the string value itself is null.

Fixes issue #192

az7arul commented 8 years ago

@ewrogers did you delete your fork ?

ewrogers commented 8 years ago

I deleted it after making the PR request. Is that an issue?

jackycute commented 5 years ago

I had same issue, could this PR be merged soon?