Commit d0509689 authored by Magdalena Turska's avatar Magdalena Turska

fix calculating the page content for TEI documents with only one page break; fix #209

parent e2ecf78f
......@@ -115,7 +115,6 @@ declare function nav:get-content($config as map(*), $div as element()) {
if ($nextPage) then
($div/ancestor::* intersect $nextPage/ancestor::*)[last()]
($div/ancestor::tei:div, $div/ancestor::tei:text)[1]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment