mirror of https://github.com/zulip/zulip.git
Temporarily disable alert_words markdown processor on staging
(imported from commit ab3eed4ce36ebcd3d928d2d92fc34c9ebacc11f9)
This commit is contained in:
parent
a6dc890686
commit
7b375634f9
|
@ -612,6 +612,8 @@ class Bugdown(markdown.Extension):
|
||||||
'strong'):
|
'strong'):
|
||||||
del md.inlinePatterns[k]
|
del md.inlinePatterns[k]
|
||||||
|
|
||||||
|
# Temporarily disable alert words on staging to help track down postgres transation quirkiness
|
||||||
|
if not settings.STAGING_DEPLOYED:
|
||||||
md.preprocessors.add("custom_text_notifications", AlertWordsNotificationProcessor(md), "_end")
|
md.preprocessors.add("custom_text_notifications", AlertWordsNotificationProcessor(md), "_end")
|
||||||
|
|
||||||
# Custom bold syntax: **foo** but not __foo__
|
# Custom bold syntax: **foo** but not __foo__
|
||||||
|
|
Loading…
Reference in New Issue