lib/softcover/builders/epub.rb in softcover-1.1.3 vs lib/softcover/builders/epub.rb in softcover-1.1.4
- old
+ new
@@ -528,10 +528,10 @@
nav_html_template(manifest.title, nav_list)
end
# Returns a navigation link for the chapter.
def nav_link(chapter)
- %(<a href="#{chapter.fragment_name}">#{chapter.title}</a>)
+ %(<a href="#{chapter.fragment_name}">#{chapter.html_title}</a>)
end
# Returns the HTML template for a chapter.
def chapter_template(title, content)
%(<?xml version="1.0" encoding="utf-8"?>
\ No newline at end of file