Skip to content

Commit

Permalink
all test pass.
Browse files Browse the repository at this point in the history
  • Loading branch information
stakiran committed Apr 27, 2021
1 parent 52185c8 commit 4f229fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib_scblines2markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,9 @@ def convert_step2(step1_converted_lines):
outlines.append(ADD_LINEFEED)

# (B)
#if not is_prev_in_list and not is_cur_in_block and cur_indentdepth>1:
if not is_prev_in_list and cur_indentdepth>1:
is_satisfied_B = not is_prev_in_list and not is_cur_in_block and cur_indentdepth>1
is_satisfied_B_case_of_start_of_tabe = not is_prev_in_list and cur_indentdepth>1 and is_cur_start_of_table
if is_satisfied_B or is_satisfied_B_case_of_start_of_tabe:
DUMMYLIST_CONTENT = '...'
dummylist = create_dummylist(cur_indentdepth, DUMMYLIST_CONTENT)
outlines.extend(dummylist)
Expand Down

0 comments on commit 4f229fa

Please sign in to comment.