aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/epub_format.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-01-23 23:44:10 -0500
committerRalph Amissah <ralph@amissah.com>2013-01-23 23:44:10 -0500
commit7cc6d871a955444cb5c265f48d6310319ba08731 (patch)
treed9bed33e06367f4b9a5233986775db9f1b95b986 /lib/sisu/v4/epub_format.rb
parentv4 v3: epub_format, cosmetic arrangement of code <<-WOK (diff)
v4 v3: xhtml structure error, fix missing </div>
* [bug reported by Mikael Böök] * fix of additional detail
Diffstat (limited to 'lib/sisu/v4/epub_format.rb')
-rw-r--r--lib/sisu/v4/epub_format.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/sisu/v4/epub_format.rb b/lib/sisu/v4/epub_format.rb
index 14304139..60c40dea 100644
--- a/lib/sisu/v4/epub_format.rb
+++ b/lib/sisu/v4/epub_format.rb
@@ -1303,11 +1303,12 @@ application/epub+zip
</head>
#{@vz.color_body}
<div class="content">
-<div class="substance">
- <label class="ocn"><a href="#o8" class="lnkocn">8</a></label>
- <h1 class="norm" id="o8">
- #{dob.obj}
- </h1>
+ <div class="substance">
+ <label class="ocn"><a href="#o#{dob.ocn}" class="lnkocn">#{dob.ocn}</a></label>
+ <h1 class="norm" id="o#{dob.ocn}">
+ #{dob.obj}
+ </h1>
+ </div>
</div>
</body>
</html>}