Find-and-Replace in python-pptx Breaks Your Fonts. Here's the Run-Safe Fix.
PowerPoint splits a single string across multiple runs, so python-pptx find-and-replace either misses the keyword or resets the font to default. Here's why it happens — and a one-call API that swaps the text while keeping every bit of formatting.