From 822fae63e02c9997d3d63019a0decc4c5cf17a9c Mon Sep 17 00:00:00 2001 From: Alex Happy <1223408988@qq.com> Date: Fri, 10 Apr 2026 16:50:20 +0800 Subject: [PATCH] fix escape markdown multiple values in a blank --- dtable_events/notification_rules/notification_rules_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dtable_events/notification_rules/notification_rules_utils.py b/dtable_events/notification_rules/notification_rules_utils.py index 2970272f..cb2bdd99 100644 --- a/dtable_events/notification_rules/notification_rules_utils.py +++ b/dtable_events/notification_rules/notification_rules_utils.py @@ -229,8 +229,8 @@ def protect_url(match): value = re.sub(r'^\s*>\s+', r'\\> ', value) # Initial citation # 3. restore mentions - for placeholder, value in protect_strs: - value = value.replace(placeholder, value) + for placeholder, place_value in protect_strs: + value = value.replace(placeholder, place_value) return value