Skip to content

Commit

Permalink
Tag the v0.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed May 23, 2014
1 parent 7a1c7e4 commit dc72a6c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ he.decode('foo&ampbar');

### `he.escape(text)`

This function takes a string of text and escapes it for use in text contexts in XML or HTML documents. Only the following characters are escaped: `&`, `<`, `>`, `"`, and `'`.
This function takes a string of text and escapes it for use in text contexts in XML or HTML documents. Only the following characters are escaped: `&`, `<`, `>`, `"`, `'`, and `` ` ``.

```js
he.escape('<img src=\'x\' onerror="prompt(1)">');
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "he",
"version": "0.3.6",
"version": "0.4.0",
"main": "he.js",
"ignore": [
"bin",
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "he",
"version": "0.3.6",
"version": "0.4.0",
"description": "A robust HTML entities encoder/decoder with full Unicode support.",
"repo": "mathiasbynens/he",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions he.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"name": "he",
"version": "0.3.6",
"version": "0.4.0",
"description": "A robust HTML entities encoder/decoder with full Unicode support.",
"homepage": "http://mths.be/he",
"main": "he.js",
"bin": "bin/he",
"man": "man/he.1",
"keywords": [
"string",
"entities",
Expand Down Expand Up @@ -47,16 +46,16 @@
"test": "node tests/tests.js"
},
"devDependencies": {
"grunt": "~0.4.4",
"grunt-shell": "~0.6.4",
"grunt": "~0.4.5",
"grunt-shell": "~0.7.0",
"grunt-template": "~0.2.3",
"istanbul": "~0.2.7",
"istanbul": "~0.2.10",
"jsesc": "~0.4.3",
"lodash": "~2.4.1",
"lodash.difference": "~2.4.1",
"qunit-extras": "~1.1.0",
"qunitjs": "~1.11.0",
"regenerate": "~0.6.0",
"regenerate": "~0.6.1",
"requirejs": "~2.1.11"
}
}

0 comments on commit dc72a6c

Please sign in to comment.