Bug Report
officecli create generates a .pptx with UTF-8 BOM in ppt/_rels/presentation.xml.rels.
This causes PowerPoint (especially Mac version) to fail parsing the relationships file,
resulting in blank slides.
Reproduction
officecli create demo.pptx
officecli add demo.pptx / --type slide --prop title="Title"
- Open demo.pptx in PowerPoint → slides are blank
Root Cause
ppt/_rels/presentation.xml.rels starts with 3-byte BOM (0xEF 0xBB 0xBF).
Workaround
Remove BOM:
tail -c +4 ppt/_rels/presentation.xml.rels > tmp && mv tmp ppt/_rels/presentation.xml.rels
Bug Report
officecli creategenerates a .pptx with UTF-8 BOM inppt/_rels/presentation.xml.rels.This causes PowerPoint (especially Mac version) to fail parsing the relationships file,
resulting in blank slides.
Reproduction
officecli create demo.pptxofficecli add demo.pptx / --type slide --prop title="Title"Root Cause
ppt/_rels/presentation.xml.relsstarts with 3-byte BOM (0xEF 0xBB 0xBF).Workaround
Remove BOM: