mirror of https://github.com/zulip/zulip.git
refactor: Rename log_bugdown_error to log_markdown_error.
This commit is part of series of commits aimed at renaming bugdown to markdown.
This commit is contained in:
parent
c1b6fbbc7d
commit
e13691aa10
|
@ -2102,7 +2102,7 @@ _privacy_re = re.compile('\\w', flags=re.UNICODE)
|
|||
def privacy_clean_markdown(content: str) -> str:
|
||||
return repr(_privacy_re.sub('x', content))
|
||||
|
||||
def log_bugdown_error(msg: str) -> None:
|
||||
def log_markdown_error(msg: str) -> None:
|
||||
"""We use this unusual logging approach to log the markdown error, in
|
||||
order to prevent AdminNotifyHandler from sending the sanitized
|
||||
original markdown formatting into another Zulip message, which
|
||||
|
|
Loading…
Reference in New Issue