mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
I prefer middledot to grave to mark local links
This commit is contained in:
parent
f08750b33c
commit
d5b0507998
@ -1877,7 +1877,7 @@ class BasicNewsRecipe(Recipe):
|
||||
arelpath = sorted(articles, key=numeric_sort_key)[0]
|
||||
a.set('href', item.relhref(arelpath))
|
||||
if a.text and len(a) == 0:
|
||||
a.text = a.text + '`'
|
||||
a.text = a.text + '·' # mark as local link
|
||||
if url not in seen:
|
||||
log.debug(f'Resolved internal URL: {url} -> {arelpath}')
|
||||
seen.add(url)
|
||||
|
Loading…
x
Reference in New Issue
Block a user