diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v3/epub_format.rb | 11 | ||||
-rw-r--r-- | lib/sisu/v4/epub_format.rb | 11 |
2 files changed, 12 insertions, 10 deletions
diff --git a/lib/sisu/v3/epub_format.rb b/lib/sisu/v3/epub_format.rb index 709351d8..ee5118e2 100644 --- a/lib/sisu/v3/epub_format.rb +++ b/lib/sisu/v3/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>} 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>} |