From cd1e94dbf78b9759dde5ef22495b585ea03f300c Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Thu, 26 Jul 2018 15:24:25 -0500 Subject: [PATCH] Fix section links in html output(broken in def6b39) --- fanficfare/writers/writer_html.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fanficfare/writers/writer_html.py b/fanficfare/writers/writer_html.py index 9dbd254e..cd727b1c 100644 --- a/fanficfare/writers/writer_html.py +++ b/fanficfare/writers/writer_html.py @@ -70,7 +70,7 @@ ${output_css} ''') self.HTML_TOC_ENTRY = string.Template(''' -${chapter}
+${chapter}
''') self.HTML_TOC_PAGE_END = string.Template(''' @@ -78,7 +78,7 @@ ${output_css} ''') self.HTML_CHAPTER_START = string.Template(''' -

${chapter}

+

${chapter}

''') self.HTML_CHAPTER_END = string.Template('') @@ -137,7 +137,7 @@ ${output_css} ## anchor to work. Which it does by default. This ## could also be made configurable if some user ## changed it. - chapurlmap[chap['url']]="#section"%chap['index04'] # url -> index + chapurlmap[chap['url']]="#section%s"%chap['index04'] # url -> index for index, chap in enumerate(self.story.getChapters()): if chap['html']: