git.iko.soy/typeable/pandoc
on master help sign in
Fixed bug in slidy writer: unclosed div tag.
commitea0a09aef1632cd6721ede8b8e3e908660bc4619 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 6 Jul 2011, 03:03 (15 years ago) parent4b31e4f
1 file changed+1−1
src/Text/Pandoc/Writers/HTML.hs+1−1
src/Text/Pandoc/Writers/HTML.hs+1−1
@@ -229,7 +229,7 @@ elementToListItem opts (Sec _ num id' headerText subsecs) = do
229229-- | Convert an Element to Html.
230230elementToHtml :: WriterOptions -> Element -> State WriterState Html
231231elementToHtml opts (Blk HorizontalRule) | writerSlideVariant opts /= NoSlides =
232− return $ primHtml "</div>" +++ nl opts +++ primHtml "<div class=\"slide\""
232+ return $ primHtml "</div>" +++ nl opts +++ primHtml "<div class=\"slide\">"
233233elementToHtml opts (Blk block) = blockToHtml opts block
234234elementToHtml opts (Sec level num id' title' elements) = do
235235 modify $ \st -> st{stSecNum = num} -- update section number