Revert "Fix parsing of unclosed Markdown delimiters."

This reverts commit a8ea6504e9.

It causes problems for colour support and it doesn't really fix the
issue in full generality. The proper fix is to include a real Markdown
parser.
This commit is contained in:
Denis Kasak 2019-01-27 15:36:42 +01:00
parent e9e5facc7c
commit 6c1abe934b

View file

@ -218,7 +218,7 @@ class Formatted(object):
text = text + line[i] text = text + line[i]
i = i + 1 i = i + 1
substrings.append(FormattedString(text, DEFAULT_ATTRIBUTES.copy())) substrings.append(FormattedString(text, attributes))
return cls(substrings) return cls(substrings)
@classmethod @classmethod