git.iko.soy/typeable/pandoc
on master help sign in
Revert "Powerpoint writer: Remove spPr tag from non-body layouts"

This reverts commit 99fa850a37cc3e56b415754c70ea2d98da709584.

commit89326046499ea61bc0e7829de510c3fd6e1f591c authorJesse Rosenthal <jrosenthal@jhu.edu> dateSat 24 Mar 2018, 10:16 (9 years ago) parent187fa4e
1 file changed+1−5
src/Text/Pandoc/Writers/Powerpoint/Output.hs+1−5
src/Text/Pandoc/Writers/Powerpoint/Output.hs+1−5
@@ -1038,11 +1038,7 @@ nonBodyTextToElement layout phType paraElements
10381038 let txBody = mknode "p:txBody" [] $
10391039 [mknode "a:bodyPr" [] (), mknode "a:lstStyle" [] ()] ++
10401040 [element]
1041− emptySpPr = mknode "p:spPr" [] ()
1042− return $
1043− replaceNamedChildren ns "p" "txBody" [txBody] $
1044− replaceNamedChildren ns "p" "spPr" [emptySpPr] $
1045− sp
1041+ return $ replaceNamedChildren ns "p" "txBody" [txBody] sp
10461042 -- XXX: TODO
10471043 | otherwise = return $ mknode "p:sp" [] ()
10481044