diff options
-rw-r--r-- | src/fe-common/core/fe-messages.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-messages.c b/src/fe-common/core/fe-messages.c index 25c20109..fcc55a67 100644 --- a/src/fe-common/core/fe-messages.c +++ b/src/fe-common/core/fe-messages.c @@ -81,7 +81,8 @@ char *expand_emphasis(WI_ITEM_REC *item, const char *text) if ((end = strchr(bgn+1, *bgn)) == NULL) continue; if (!ishighalnum(end[-1]) || ishighalnum(end[1]) || - end[1] == type || end[1] == '*' || end[1] == '_') + end[1] == type || end[1] == '*' || end[1] == '_' || + (type == 29 && end[1] != NULL && ishighalnum(end[2]))) continue; if (IS_CHANNEL(item)) { |