2016-07-04 17:05:22 +03:00
|
|
|
#!/bin/sh
|
|
|
|
# php -r 'require "htmLawed.php"; print htmLawed::sanitize(file_get_contents("test_xss.txt"), array("safe" => 1));' > test_php.htm
|
|
|
|
node_modules/.bin/eslint --rulesdir eslint-plugin-no-regex-dot htmLawed.js
|
|
|
|
node_modules/.bin/babel htmLawed.js > htmLawed.c.js
|
2016-07-05 16:15:15 +03:00
|
|
|
nodejs htmLawed-test.js
|