diff --git a/src/calibre/ebooks/rtf2xml/field_strings.py b/src/calibre/ebooks/rtf2xml/field_strings.py index eec9509f34..d8b665fd26 100755 --- a/src/calibre/ebooks/rtf2xml/field_strings.py +++ b/src/calibre/ebooks/rtf2xml/field_strings.py @@ -402,7 +402,7 @@ class FieldStrings: Logic: self.__link_switch = re.compile(r'\\l\s{1,}(.*?)\s') """ - self.__link_switch = re.compile(r'\\l\s{1,}(.*?)\s') + self.__link_switch = re.compile(r'\\l\s{1,}"{0,1}(.*?)"{0,1}\s') the_string = name match_group = re.search(self.__link_switch, line) if match_group: