Skip to content

Punctuation spacing check: 'Fix string' button changes wrong punctuation #18308

@emmapeel2

Description

@emmapeel2

Describe the issue

The button "Fix string" for the "Punctuation spacing" check wants to add spaces before the wrong colons.

I already tried

  • I've read and searched the documentation.
  • I've searched for similar filed issues in this repository.

Steps to reproduce the behavior

  • On a French translation add a string with a markdown external link and also punctuation errors example

  • Click on the 'Fix string' button.

The space is added after https in the string.

Expected behavior

The space should not be added there, only on the other colons.

Screenshots

No response

Exception traceback

How do you run Weblate?

weblate.org service

Weblate versions

No response

Weblate deploy checks

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Quality checksWaiting for: DemandLow priority for development. Pull requests welcome. Can be prioritized by sponsorship.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions