diff --git a/slides.py b/slides.py index 4ade96a..a29f3b9 100755 --- a/slides.py +++ b/slides.py @@ -26,7 +26,7 @@ def compile_slide(slide, root_directory): # very unelegant attempt at inline elements inline_key = '@' + key + '(inline)' if inline_key in slide: - filler_without_outer_paragraph = re.sub(r"
(.+)
", r"\1", filler, flags=re.DOTALL) + filler_without_outer_paragraph = re.sub(r"(.+)
", r"\1", filler, flags=re.DOTALL).strip() slide = slide.replace( inline_key, filler_without_outer_paragraph