From 40ff0ebc7b0263a1e74d1fa83dbd00f48f447d6b 2021-07-03 18:32:09 From: Blazej Michalik <6691643+MrMino@users.noreply.github.com> Date: 2021-07-03 18:32:09 Subject: [PATCH] Update IPython/utils/text.py Co-authored-by: Matthias Bussonnier --- diff --git a/IPython/utils/text.py b/IPython/utils/text.py index f54f97b..c25869a 100644 --- a/IPython/utils/text.py +++ b/IPython/utils/text.py @@ -445,7 +445,7 @@ def strip_email_quotes(text): # Check if all characters in this position are the same if len(set(characters)) > 1: break - prefix_char = characters[0][0] + prefix_char = characters[0] if prefix_char in string.whitespace or prefix_char == ">": strip_len += 1