Skip to content

Commit

Permalink
I prefer middledot to grave to mark local links
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Sep 25, 2024
1 parent f08750b commit d5b0507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/calibre/web/feeds/news.py
Original file line number Diff line number Diff line change
Expand Up @@ -1877,7 +1877,7 @@ def internal_postprocess_book(self, oeb, opts, log):
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)
Expand Down

0 comments on commit d5b0507

Please sign in to comment.