Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG]The edit box and function box shows error if the cell value contains sign"<" #1060

Closed
xu3927 opened this issue Jun 20, 2022 · 1 comment · Fixed by #1061
Closed

[BUG]The edit box and function box shows error if the cell value contains sign"<" #1060

xu3927 opened this issue Jun 20, 2022 · 1 comment · Fixed by #1061

Comments

@xu3927
Copy link

xu3927 commented Jun 20, 2022

Describe the bug

Edit Error when the cell data contains "<, >", because it changed the structure of html.

To Reproduce

  1. The first step: set cell data as "abc<abc"
  2. The second step: select this cell
  3. See error: the function box shows "abc" instead of "abc<abc".
  4. Double click the cell
  5. See error: the edit box shows "abc" instead of "abc<abc".

What is expected?

The reason of this bug is because of the sign "<", ">" changed the html structure of edit box and function box.
Show the write value in edit box, function box when the cell value contains sign "<" and ">".

Screenshots or demo

image

image

Environment

  • OS: Mac
  • Browser Version: Chrome Version Version 102.0.5005.115 (Official Build) (arm64)
  • Luckysheet Version: 2.1.13

Additional context

xu3927 pushed a commit to xu3927/Luckysheet that referenced this issue Jun 20, 2022
1. fix edit box and function box shows error data when cell value contains "<" and ">" sign. 2: fix
copy paste data error when cell value contains "<", ">" sign. 3: add .vscode to gitignore

fix dream-num#1060
@xu3927
Copy link
Author

xu3927 commented Jun 20, 2022

@i can solve it

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

Successfully merging a pull request may close this issue.

1 participant