Skip to content

Decode special characters when copying grid cells #320

@insmac

Description

@insmac

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Severity: 2bugSomething isn't workingweb-consoleIssues relevant to "web-console" package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions