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

HTML entities in copied query content #1063

Closed
boblannon-fp opened this issue Aug 7, 2023 · 2 comments
Closed

HTML entities in copied query content #1063

boblannon-fp opened this issue Aug 7, 2023 · 2 comments
Labels
Bug Something isn't working Triage 👀

Comments

@boblannon-fp
Copy link

Describe the bug
Characters like > and < display correctly in the web view, but when the query is copied to the clipboard, they're still HTML entities like &lt; and &gt;. This, obviously, creates SQL parsing errors

To Reproduce
Steps to reproduce the behavior:

  1. Go to any test in the Test Results view
  2. Click on a test
  3. Copy the content of the Result Query field:
  4. Paste the text into a text editor
  5. See invalid SQL code, containing HTML entities instead of logical operators

Expected behavior
Valid SQL code.

Screenshots
image

image

Environment (please complete the following information):

  • edr Version: 0.8.2
  • dbt package Version: 1.3.0

Additional context
Add any other context about the problem here.

@boblannon-fp boblannon-fp added Bug Something isn't working Triage 👀 labels Aug 7, 2023
@boblannon-fp
Copy link
Author

Ah, I see, this was already identified as a related problem in #965 (comment)

feel free to close this, or use it to track that solution, which seems to already be waiting for release :)

@Maayan-s
Copy link
Contributor

Maayan-s commented Aug 8, 2023

Yes @boblannon-fp, will try to release it soon!
Thanks for reporting

@Maayan-s Maayan-s closed this as completed Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Triage 👀
Projects
None yet
Development

No branches or pull requests

2 participants