mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 10:43:44 +02:00
...
This commit is contained in:
parent
0276a30588
commit
31c45aaf4e
1 changed files with 1 additions and 1 deletions
|
|
@ -402,7 +402,7 @@ def __hyperlink_func(self, field_name, name, line):
|
|||
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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue