diff --git a/Makefile b/Makefile index 38c16d81..76904000 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,9 @@ all: @cp lib/marked.js marked.js - @uglifyjs -mt --unsafe -o marked.min.js marked.js + @uglifyjs -o marked.min.js marked.js clean: @rm marked.js @rm marked.min.js .PHONY: clean all - diff --git a/bin/marked b/bin/marked index e6a2fe97..7d00504e 100755 --- a/bin/marked +++ b/bin/marked @@ -23,13 +23,9 @@ var help = function() { customFds: [0, 1, 2] }; - var man = spawn('man', + spawn('man', [__dirname + '/../man/marked.1'], options); - - // man.on('exit', function(code) { - // if (code !== 0) console.error('no man page'); - // }); }; /** diff --git a/test/fix.js b/test/fix.js index f5183ecd..16b0fb37 100644 --- a/test/fix.js +++ b/test/fix.js @@ -9,9 +9,6 @@ // fail for reasons unrelated to // conformance. -// fix the fact that the original markdown -// does not escape quotes for some reason - var path = require('path') , fs = require('fs') , dir = __dirname + '/tests'; @@ -49,7 +46,7 @@ fs.readdirSync(dir).forEach(function(file) { (function() { var file = dir + '/amps_and_angles_encoding.html'; var html = fs.readFileSync(file, 'utf8') - .replace('6 > 5.', '6 > 5.') + .replace('6 > 5.', '6 > 5.'); fs.writeFileSync(file, html); })();