mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -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 = href.partition('#')[2]
|
||||||
href = os.path.splitext(os.path.basename(href))[0]
|
href = os.path.splitext(os.path.basename(href))[0]
|
||||||
tag_count += 1
|
tag_count += 1
|
||||||
text += '<A HREF="%s">' % href
|
text += '<A HREF="#%s">' % href
|
||||||
tag_stack.append('A')
|
tag_stack.append('A')
|
||||||
|
|
||||||
# Anchor ids
|
# Anchor ids
|
||||||
|
Loading…
x
Reference in New Issue
Block a user