If you use Espanso to automatically replace straight apostrophes (') with typographic apostrophes (’), make sure to disable Magic Quotes in Zettlr’s settings (for single quotes, in autocorrect options) to avoid conflicts and prevent duplicate apostrophes.