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

Do not escape <br> tags in task tooltips, so that the line breaks are… #3250

Merged
merged 1 commit into from Sep 7, 2023

Conversation

ewallace-RI
Copy link
Contributor

Description

This is a minor formatting fix for the Task popover text in the Dependency Graph tab of the scheduler GUI.

Motivation and Context

With the XSS fix implemented in #3230, the tooltip text for a task with multiple parameters has the line break tags escaped:
image

This change simply escapes the text for each parameter individually, and then joins the escaped strings with the
tags.

Have you tested this? If so, how?

I spun up a scheduler and checked that a simple test task displays correctly.
image

@ewallace-RI ewallace-RI requested review from dlstadther and a team as code owners August 29, 2023 23:14
@dlstadther dlstadther merged commit 9c719b0 into spotify:master Sep 7, 2023
35 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants