Reword comment: bold -> emphasis
This commit is contained in:
parent
544155632f
commit
ae2f70a723
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue