From 31c45aaf4e7cab50b52d0b506115ddd22203c725 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 31 Dec 2010 18:22:10 -0700 Subject: [PATCH] ... --- src/calibre/ebooks/rtf2xml/field_strings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: