We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f247ae commit 14db636Copy full SHA for 14db636
src/resources/jupyter/notebook.py
@@ -477,6 +477,9 @@ def nb_cell_yaml_lines(lang, source):
477
yaml_option = line[len(option_match.group()):]
478
if (option_suffix):
479
yaml_option = yaml_option.rstrip()[:-len(option_suffix)]
480
+ # strip trailing spaces after : to avoid poyo error
481
+ # (https://github.com/hackebrot/poyo/issues/30)
482
+ yaml_option = re.sub(":\\s+$", ":", yaml_option)
483
yaml_lines.append(yaml_option)
484
continue
485
break
0 commit comments