mathesar-foundation / mathesar

Web application providing an intuitive user experience to databases.
https://mathesar.org/
GNU General Public License v3.0
2.28k stars 316 forks source link

Negative numbers not serialized correctly when copying #3576

Closed seancolsen closed 1 month ago

seancolsen commented 1 month ago

Steps to reproduce

  1. Create a new table via data import.

  2. Paste the following content to create the table:

    value
    1
    -5
    3
  3. Select all cells in the value column and use a keyboard shortcut to copy them.

  4. Paste into https://evercoder.github.io/clipboard-inspector/ to inspect your clipboard.

  5. Expect the text/plain content to be:

    1
    -5
    3
  6. Instead, observe it to be:

    1
    "'-5"
    3

Technical considerations