@@ -308,11 +308,9 @@ elementToHtml slideLevel opts (Sec level num (id',classes,keyvals) title' elemen
308 $ if titleSlide
308 $ if titleSlide
309 -- title slides have no content of their own
309 -- title slides have no content of their own
310 then filter isSec elements
310 then filter isSec elements
312− then case splitBy isPause elements of
311+ else case splitBy isPause elements of
313− [] -> []
312+ [] -> []
314− (x:xs) -> x ++ concatMap inDiv xs
313+ (x:xs) -> x ++ concatMap inDiv xs
316 let inNl x = mconcat $ nl opts : intersperse (nl opts) x ++ [nl opts]
314 let inNl x = mconcat $ nl opts : intersperse (nl opts) x ++ [nl opts]
317 let classes' = ["titleslide" | titleSlide] ++ ["slide" | slide] ++
315 let classes' = ["titleslide" | titleSlide] ++ ["slide" | slide] ++
318 ["section" | (slide || writerSectionDivs opts) &&
316 ["section" | (slide || writerSectionDivs opts) &&