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:
parent
e9e5facc7c
commit
6c1abe934b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue