diff --git a/plover_fancytext/zalgo.py b/plover_fancytext/zalgo.py index a851f5e..f9d866b 100644 --- a/plover_fancytext/zalgo.py +++ b/plover_fancytext/zalgo.py @@ -24,12 +24,12 @@ def add_combining_marks(self, c: str) -> str: if c in self.translations: return self.translations[c] + o = c for m in random.sample( COMBINING_MARKS, random.randrange(self.minimum, self.maximum)): - o = c o += m - self.translations[c] = o + self.translations[c] = o return o def format(self, str) -> str: