fix README
This commit is contained in:
10
README.md
10
README.md
@@ -67,19 +67,19 @@ For test code please refer to `benchmark` directory.
|
||||
### NPM
|
||||
|
||||
```bash
|
||||
$ npm install xss
|
||||
npm install xss
|
||||
```
|
||||
|
||||
### Bower
|
||||
|
||||
```bash
|
||||
$ bower install xss
|
||||
bower install xss
|
||||
```
|
||||
|
||||
Or
|
||||
|
||||
```bash
|
||||
$ bower install https://github.com/leizongmin/js-xss.git
|
||||
bower install https://github.com/leizongmin/js-xss.git
|
||||
```
|
||||
|
||||
## Usages
|
||||
@@ -140,7 +140,7 @@ xss -i <input_file> -o <output_file>
|
||||
Example:
|
||||
|
||||
```bash
|
||||
$ xss -i origin.html -o target.html
|
||||
xss -i origin.html -o target.html
|
||||
```
|
||||
|
||||
### Active Test
|
||||
@@ -149,7 +149,7 @@ Run the following command, them you can type HTML
|
||||
code in the command-line, and check the filtered output:
|
||||
|
||||
```bash
|
||||
$ xss -t
|
||||
xss -t
|
||||
```
|
||||
|
||||
For more details, please run `$ xss -h` to see it.
|
||||
|
||||
10
README.zh.md
10
README.zh.md
@@ -60,19 +60,19 @@
|
||||
### NPM
|
||||
|
||||
```bash
|
||||
$ npm install xss
|
||||
npm install xss
|
||||
```
|
||||
|
||||
### Bower
|
||||
|
||||
```bash
|
||||
$ bower install xss
|
||||
bower install xss
|
||||
```
|
||||
|
||||
或者
|
||||
|
||||
```bash
|
||||
$ bower install https://github.com/leizongmin/js-xss.git
|
||||
bower install https://github.com/leizongmin/js-xss.git
|
||||
```
|
||||
|
||||
## 使用方法
|
||||
@@ -133,7 +133,7 @@ xss -i <源文件> -o <目标文件>
|
||||
例:
|
||||
|
||||
```bash
|
||||
$ xss -i origin.html -o target.html
|
||||
xss -i origin.html -o target.html
|
||||
```
|
||||
|
||||
### 在线测试
|
||||
@@ -141,7 +141,7 @@ $ xss -i origin.html -o target.html
|
||||
执行以下命令,可在命令行中输入 HTML 代码,并看到过滤后的代码:
|
||||
|
||||
```bash
|
||||
$ xss -t
|
||||
xss -t
|
||||
```
|
||||
|
||||
详细命令行参数说明,请输入 `$ xss -h` 来查看。
|
||||
|
||||
Reference in New Issue
Block a user