git.iko.soy/typeable/pandoc
on master help sign in
Powerpoint writer: Ignore Notes div

For now, ignore notes div for parity with other slide outputs.

commit85f8d9285063767e52266243d2b10af1cbe5f856 authorJesse Rosenthal <jrosenthal@jhu.edu> dateWed 3 Jan 2018, 22:07 (9 years ago) parentbf15258
1 file changed+1
src/Text/Pandoc/Writers/Powerpoint.hs+1
src/Text/Pandoc/Writers/Powerpoint.hs+1
@@ -441,6 +441,7 @@ blockToParagraphs (DefinitionList entries) = do
441441 definition <- concatMapM (blockToParagraphs . BlockQuote) blksLst
442442 return $ term ++ definition
443443 concatMapM go entries
444+blockToParagraphs (Div (_, ("notes" : []), _) _) = return []
444445blockToParagraphs (Div _ blks) = concatMapM blockToParagraphs blks
445446blockToParagraphs blk = do
446447 P.report $ BlockNotRendered blk