Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decode special characters when copying grid cells #320

Open
insmac opened this issue Jul 30, 2024 · 0 comments
Open

Decode special characters when copying grid cells #320

insmac opened this issue Jul 30, 2024 · 0 comments

Comments

@insmac
Copy link
Contributor

insmac commented Jul 30, 2024

Currently, if the value of a given cell contains special characters (i.e. <, > or &), they will be copied in their HTML-encoded form, thus preventing using the value for things like SQL filters.

The cell value should be decoded upon writing its contents to the clipboard.

Steps to replicate:

CREATE TABLE chars (char string);
INSERT INTO chars (char) VALUES ('&');
INSERT INTO chars (char) VALUES ('<');
INSERT INTO chars (char) VALUES ('>');
SELECT * FROM chars;

Then, copy any cell to clipboard and paste elsewhere.

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

No branches or pull requests

1 participant