From c9994effcff67d4fddab23c2364218a09e807768 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 16 Jan 2015 18:53:12 -0800 Subject: Removed unnecessary setting of default tight=true in finalize. We do that when the listData object is initialized. --- js/lib/blocks.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'js/lib') diff --git a/js/lib/blocks.js b/js/lib/blocks.js index 756b79c..9286e3a 100644 --- a/js/lib/blocks.js +++ b/js/lib/blocks.js @@ -174,7 +174,7 @@ var parseListMarker = function(ln, offset, indent) { var match; var spaces_after_marker; var data = { type: null, - tight: true, + tight: true, // lists are tight by default bulletChar: null, start: null, delimiter: null, @@ -617,8 +617,6 @@ var finalize = function(block, lineNumber) { break; case 'List': - block._listData.tight = true; // tight by default - var item = block._firstChild; while (item) { // check for non-final list item ending with blank line: -- cgit v1.2.3