Skip to content

Curly braces aren't escaped correctly in syncplay chat in mpv #804

Description

@SquirrelKiev

Describe the bug
Curly braces aren't escaped correctly in syncplay chat in mpv.

Image Image

To Reproduce
Steps to reproduce the behavior:

  1. Send a { or } in syncplay chat with mpv as the video player.
  2. { gets written as {\\fscx0} { instead.

Expected behavior
I think the intention is for it to just get displayed as {. (there are uses for it not being escaped, e.g. formatting chat messages with {\i1}{\i0), although that's a different issue.)

Version and platform:

  • OS: Windows 11
  • Syncplay version and build type: Syncplay 1.7.7 development, seen on past versions too however.
  • Media player and version: mpv v0.41.0-1010-gc318236b8

Additional context
I've only checked mpv for this, but if some other supported video players also display chat, it might also be an issue there too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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