aboutsummaryrefslogtreecommitdiffstats
path: root/slack
diff options
context:
space:
mode:
Diffstat (limited to 'slack')
-rw-r--r--slack/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/slack/config.py b/slack/config.py
index 6531b6a..1bb4f0f 100644
--- a/slack/config.py
+++ b/slack/config.py
@@ -213,8 +213,8 @@ class SlackConfigSectionLook:
self.render_url_as = WeeChatOption(
self._section,
"render_url_as",
- "format to render URLs (note: content is evaluated, see /help eval; ${url} is replaced by the URL link and ${text} is replaced by the URL text); the default format renders only the URL if the text is empty or is contained in the URL, otherwise it renders the text first and then the URL in parentheses",
- "${if: ${text} == || ${url} =- ${text} ?${url}:${text} (${url})}",
+ "format to render URLs (note: content is evaluated, see /help eval; ${url} is replaced by the URL link and ${text} is replaced by the URL text); the default format renders only the URL if the text is empty or is contained in the URL, otherwise it renders the text (underlined) first and then the URL in parentheses",
+ "${if: ${text} == || ${url} =- ${text} ?${url}:${color:underline}${text}${color:-underline} (${url})}",
)
self.replace_space_in_nicks_with = WeeChatOption(