@ironarachne/words
    Preparing search index...

    Function fixPunctuation

    • Fixes common punctuation errors like duplicate spaces, duplicate punctuation, space before punctuation, and trailing spacing.

      Parameters

      • text: string

        The text to fix.

      Returns string

      The text with fixed punctuation.