mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
use accent char to identify...
..resolved internal links
This commit is contained in:
parent
d793ed3647
commit
9e0506aaad
@ -1876,6 +1876,8 @@ class BasicNewsRecipe(Recipe):
|
|||||||
if articles:
|
if articles:
|
||||||
arelpath = sorted(articles, key=numeric_sort_key)[0]
|
arelpath = sorted(articles, key=numeric_sort_key)[0]
|
||||||
a.set('href', item.relhref(arelpath))
|
a.set('href', item.relhref(arelpath))
|
||||||
|
if a.text and len(a) == 0:
|
||||||
|
a.text = a.text + '`'
|
||||||
if url not in seen:
|
if url not in seen:
|
||||||
log.debug(f'Resolved internal URL: {url} -> {arelpath}')
|
log.debug(f'Resolved internal URL: {url} -> {arelpath}')
|
||||||
seen.add(url)
|
seen.add(url)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user