Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

http-api: code eval adds a space at the end of the expression #1499

Open
ryjm opened this issue Oct 27, 2022 · 1 comment
Open

http-api: code eval adds a space at the end of the expression #1499

ryjm opened this issue Oct 27, 2022 · 1 comment
Labels

Comments

@ryjm
Copy link

ryjm commented Oct 27, 2022

Describe the bug
When evaluating code in chat an extra space is added resulting in a syntax error
To Reproduce
Steps to reproduce the behavior:

  1. Press code button
  2. type valid expression and hint enter.
    Expected behavior*
    Doesn't add space to a valid expression

Operating context

  • Device: thinkpad and macbook air
  • OS: macOS and nixOS
  • Browser: Safari and Brave

image

@ryjm ryjm added the bug label Oct 27, 2022
@ryjm ryjm changed the title http-api: code eval broken over http http-api: code eval adds a space at the end of the expression Oct 27, 2022
@fasner-bitful
Copy link

can confirm. trailing spaces should not be added, and possibly should even be actively deleted.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants