Skip to content

Wiki autocoloring does not work with negative numbers #592

@Fayti1703

Description

@Fayti1703

Repro Steps

  1. Create a page with the text (( \{ works: 1, fails: -1 \} )).
  2. Render it

Note

The page on #db.f(..).sort() currently has text of this form.

Expected: Both keys are N-colored, both values are V-colored

Actual: Only the non-negative key is colored

Impact

This is inconsistent with the game client's autocoloring and looks quite odd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThis is a new issue that needs to be reviewed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions