diff --git a/lib/marked.js b/lib/marked.js
index e469dcc2c2..327e648e3d 100644
--- a/lib/marked.js
+++ b/lib/marked.js
@@ -735,7 +735,7 @@ InlineLexer.prototype.smartypants = function(text) {
// opening singles
.replace(/(^|[-\u2014/(\[{"\s])'/g, '$1\u2018')
// closing singles & apostrophes
- .replace(/'/g, "\u2019")
+ .replace(/'/g, '\u2019')
// opening doubles
.replace(/(^|[-\u2014/(\[{\u2018\s])"/g, '$1\u201c')
// closing doubles
@@ -889,9 +889,11 @@ Parser.prototype.tok = function() {
body += '\n\n';
for (i = 0; i < this.token.header.length; i++) {
heading = this.inline.output(this.token.header[i]);
- body += this.token.align[i]
- ? ' \n\n';
@@ -902,9 +904,11 @@ Parser.prototype.tok = function() {
body += '' + heading + ' \n'
- : '' + heading + ' \n';
+ body += '' + heading + ' \n';
}
body += '