diff options
author | Ralph Amissah <ralph@amissah.com> | 2008-12-16 19:54:36 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2008-12-16 19:54:36 -0500 |
commit | 0c4c1608a90f8363db117b29ae758abced96e0cc (patch) | |
tree | fb4e5a18a00a9954f409e949b939396030a05cc1 /lib | |
parent | sha256 for 0.70.2 (diff) |
close html <p> tag for "letter" class
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v0/harvest_authors.rb | 4 | ||||
-rw-r--r-- | lib/sisu/v0/harvest_topics.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/sisu/v0/harvest_authors.rb b/lib/sisu/v0/harvest_authors.rb index a9a2be03..8d4d3e15 100644 --- a/lib/sisu/v0/harvest_authors.rb +++ b/lib/sisu/v0/harvest_authors.rb @@ -275,9 +275,9 @@ WOK if @alph.length > 0 @letter=@alph.shift if @output[:html_mnt].class == File - @output[:html_mnt] << %{\n<p class="letter"><a name="#{@letter}">#{@letter}</a><p class="book_index_lev1"><a name="#{@letter.downcase}"></a></p>} + @output[:html_mnt] << %{\n<p class="letter"><a name="#{@letter}"></p>#{@letter}</a><p class="book_index_lev1"><a name="#{@letter.downcase}"></a></p>} end - @output[:html] << %{\n<p class="letter"><a name="#{@letter}">#{@letter}</a><p class="book_index_lev1"><a name="#{@letter.downcase}"></a></p>} + @output[:html] << %{\n<p class="letter"><a name="#{@letter}">#{@letter}</a></p><p class="book_index_lev1"><a name="#{@letter.downcase}"></a></p>} else break end end diff --git a/lib/sisu/v0/harvest_topics.rb b/lib/sisu/v0/harvest_topics.rb index 51f55b2b..918c289f 100644 --- a/lib/sisu/v0/harvest_topics.rb +++ b/lib/sisu/v0/harvest_topics.rb @@ -363,9 +363,9 @@ WOK if @alph.length > 0 @letter=@alph.shift if @output[:html_mnt].class == File - @output[:html_mnt] << %{\n<p class="letter"><a name="#{@letter}">#{@letter}</a><p class="book_index_lev1"><a name="#{@letter.downcase}"></a></p>} + @output[:html_mnt] << %{\n<p class="letter"><a name="#{@letter}">#{@letter}</a></p><p class="book_index_lev1"><a name="#{@letter.downcase}"></a></p>} end - @output[:html] << %{\n<p class="letter"><a name="#{@letter}">#{@letter}</a><p class="book_index_lev1"><a name="#{@letter.downcase}"></a></p>} + @output[:html] << %{\n<p class="letter"><a name="#{@letter}">#{@letter}</a></p><p class="book_index_lev1"><a name="#{@letter.downcase}"></a></p>} else break end end |