Skip to content

Diff viewer for translations incorrectly handles escape sequences in diffed code #3314

@hobovsky

Description

@hobovsky

In kumite/translations Diff view, when a difference (green/red highlighting) affects a line with a new line escape sequence \n, the sequence is interpreted as a new line and the diff is presented in a confusing way.

Code in editor:

image

Code in translation kumite view:

image

Code in diff viewer:

image

The problem does not seem to occur with the parts of a code which were not changed.

  • OS: Win11
  • Browser: Opera

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions