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,7 +612,9 @@ class Bugdown(markdown.Extension):
|
||||||
'strong'):
|
'strong'):
|
||||||
del md.inlinePatterns[k]
|
del md.inlinePatterns[k]
|
||||||
|
|
||||||
md.preprocessors.add("custom_text_notifications", AlertWordsNotificationProcessor(md), "_end")
|
# 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")
|
||||||
|
|
||||||
# Custom bold syntax: **foo** but not __foo__
|
# Custom bold syntax: **foo** but not __foo__
|
||||||
md.inlinePatterns.add('strong',
|
md.inlinePatterns.add('strong',
|
||||||
|
|
Loading…
Reference in New Issue