Skip to content

[BUG] Odd behaviour when using -> inside an entity #24

@OneShoeBoy

Description

@OneShoeBoy

Description

When using -> inside an entity tag (e.g. [PC: James|uninjured -> injured] the -> and any text after it are rendering a second time at the end of the entity line. This only shows once you click outside of the code block.

Steps to Reproduce

  1. In a lonelog codeblock, declare an entity with an explicit tag update e.g. [PC:James|uninjured -> injured]
  2. Click outside of the codeblock so it's no longer in focus

Expected Behavior

The entity should render in the code block like any other entity declaration, witout any external text

Actual Behavior

The -> and text after it are rendering a second time outside of the closing entity bracket (see screenshot).

Environment

  • OS: Windows
  • Python version:
  • lonelog version: latest

Additional Context

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions