Continue line break only if one has started

This commit is contained in:
Sergii Khomenko 2019-04-15 22:24:09 +02:00
parent fab6ba6e06
commit f57940fc54

View File

@ -116,6 +116,9 @@ def _get_code(input_file):
# if this cell ends with `\` -> skip the next line
is_line_split = check_line_split(code_line)
if is_line_split:
is_line_split = check_line_split(code_line)
# Sometimes, people leave \n at the end of cell
# in order to migrate only related things, and make the diff
# the smallest -> here is another hack