diff --git a/pagure/lib/__init__.py b/pagure/lib/__init__.py index fbbf808..26aa32d 100644 --- a/pagure/lib/__init__.py +++ b/pagure/lib/__init__.py @@ -2909,17 +2909,7 @@ def text2markdown(text, extended=True): ) if text: - # Hack to allow blockquotes to be marked by ~~~ - ntext = [] - indent = False - for line in text.split('\n'): - if line.startswith('~~~'): - indent = not indent - continue - if indent: - line = ' %s' % line - ntext.append(line) - return clean_input(md_processor.convert('\n'.join(ntext))) + return clean_input(md_processor.convert(text)) return ''