mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-07 09:01:38 -04:00
RB output: Fix internal links.
This commit is contained in:
parent
3659eb1b7a
commit
4ac041cace
@ -122,7 +122,7 @@ class RBMLizer(object):
|
||||
href = href.partition('#')[2]
|
||||
href = os.path.splitext(os.path.basename(href))[0]
|
||||
tag_count += 1
|
||||
text += '<A HREF="%s">' % href
|
||||
text += '<A HREF="#%s">' % href
|
||||
tag_stack.append('A')
|
||||
|
||||
# Anchor ids
|
||||
|
Loading…
x
Reference in New Issue
Block a user