loose = next || /\n\n(?!\s*$)/.test(item);
if (i !== l - 1) {
next = item.charAt(item.length - 1) === '\n';
- if (!loose) loose = next;
+ if (!loose) { loose = next; }
}
this.tokens.push({
? this.options.sanitizer
? this.options.sanitizer(cap[0])
: escape(cap[0])
- : cap[0]
+ : cap[0];
continue;
}
*/
InlineLexer.prototype.smartypants = function(text) {
- if (!this.options.smartypants) return text;
+ if (!this.options.smartypants) { return text; }
return text
// em-dashes
.replace(/---/g, '\u2014')