From ae2f70a7237151c8c526a491213ad48c0aef20f4 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Wed, 16 Jan 2019 14:12:10 +0100 Subject: [PATCH] Reword comment: bold -> emphasis --- matrix/colors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matrix/colors.py b/matrix/colors.py index 17e541f..1b27125 100644 --- a/matrix/colors.py +++ b/matrix/colors.py @@ -100,7 +100,7 @@ class Formatted(object): attributes["bold"] = not attributes["bold"] i = i + 1 - # Markdown bold + # Markdown emphasis elif line[i] == "*": if attributes["italic"] and not line[i - 1].isspace(): if text: @@ -179,6 +179,7 @@ class Formatted(object): # Reset all the attributes attributes = DEFAULT_ATTRIBUTES.copy() i = i + 1 + # Italic elif line[i] == "\x1D": if text: