Skip to content

AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He

fix(pptx-to-svg): restore blank placeholders on re-import

hugohe3e2576c40e85e
diff --git a/skills/ppt-master/scripts/pptx_to_svg/txbody_to_svg.py b/skills/ppt-master/scripts/pptx_to_svg/txbody_to_svg.py
index b0dedd0d..67a52adb 100644
--- a/skills/ppt-master/scripts/pptx_to_svg/txbody_to_svg.py
+++ b/skills/ppt-master/scripts/pptx_to_svg/txbody_to_svg.py
@@ -1232,7 +1232,10 @@ def _roman_number(value: int) -> str:
def _has_visible_text(paragraphs: list[TextParagraph]) -> bool:
for p in paragraphs:
for r in p.runs:
- if r.text.strip():
+ # Structured export writes U+200B only to keep a visually blank
+ # placeholder carrier alive in DrawingML. Restore that transport
+ # sentinel to an empty SVG carrier on re-import.
+ if r.text.replace("\u200b", "").strip():
return True
return False