Run black reformatter on code
This commit is contained in:
parent
4582eb4085
commit
bd3e31bf3c
178 changed files with 4511 additions and 3385 deletions
|
|
@ -301,8 +301,8 @@ class TextToHTMLparser(object):
|
|||
text (str): Processed text.
|
||||
"""
|
||||
url, text = [grp.replace('"', "\\"") for grp in match.groups()]
|
||||
val = (
|
||||
r"""<a id="mxplink" href="{url}" target="_blank">{text}</a>""".format(url=url, text=text)
|
||||
val = r"""<a id="mxplink" href="{url}" target="_blank">{text}</a>""".format(
|
||||
url=url, text=text
|
||||
)
|
||||
return val
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue