summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/lib/blocks.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/lib/blocks.js b/js/lib/blocks.js
index 14c9339..756b79c 100644
--- a/js/lib/blocks.js
+++ b/js/lib/blocks.js
@@ -286,12 +286,12 @@ var incorporateLine = function(ln) {
break;
case 'Item':
- if (indent >= container._listData.markerOffset +
+ if (blank) {
+ offset = first_nonspace;
+ } else if (indent >= container._listData.markerOffset +
container._listData.padding) {
offset += container._listData.markerOffset +
container._listData.padding;
- } else if (blank) {
- offset = first_nonspace;
} else {
all_matched = false;
}