diff --git a/CrossDown.py b/CrossDown.py index c8e14bd..c471501 100644 --- a/CrossDown.py +++ b/CrossDown.py @@ -176,6 +176,7 @@ class CodeBlock: class Basic: @staticmethod def paragraph(text: str): + text = '\n'.join(['-' + line + '-' for line in original_string.splitlines()]) return re.sub(r'(<.+?>.*?<.+?>)\n', r'
\1
\n', text)