Skip to content

Some characters are stripped when entered in chat (color codes) #7

Description

@Luashine

For example, the Debug Console renders everything through a multiboard. Multiboard text supports color codes like |cFF99aabb Yet you cannot paste it, because the entire color code is stripped from entered text, beginning with the | pipe character.

If the color code is inside a string, it would be possible to still use it by converting the pipe to \x7c the hex escape code.

  • Downside: it doesn't work outside of strings.
  • Upside: I think the binary OR is the only place in Lua that makes uses of this character in code.

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions