summaryrefslogtreecommitdiffstats
path: root/scripts/invalid-code-points-string.js
diff options
context:
space:
mode:
authormirabilos <t.glaser@tarent.de>2016-08-30 18:40:57 +0200
committerMathias Bynens <mathias@qiwi.be>2016-08-31 08:57:31 +0200
commit6467b1f4e14b2bc09d8e1210baecc38078281c72 (patch)
treea5cc0ad45f80f0d2a712658f61de534fb83616d3 /scripts/invalid-code-points-string.js
parenta836f822eadb86ac8661b97f6435723d03315c68 (diff)
downloadhe-6467b1f4e14b2bc09d8e1210baecc38078281c72.zip
he-6467b1f4e14b2bc09d8e1210baecc38078281c72.tar.gz
he-6467b1f4e14b2bc09d8e1210baecc38078281c72.tar.bz2
Improve `he.encode` documentation
Make it clear that enabling the `strict` option causes `he.encode` to either throw (for input containing invalid code points) or return a string of valid HTML. Closes #49.
Diffstat (limited to 'scripts/invalid-code-points-string.js')
0 files changed, 0 insertions, 0 deletions