Skip to content

fix: escape job output in notebook html - #9614

Open
Nikhila-Dhevi-R wants to merge 1 commit into
OpenMined:devfrom
Nikhila-Dhevi-R:codex/fix-job-output-html-9586
Open

Nikhila-Dhevi-R wants to merge 1 commit into
OpenMined:devfrom
Nikhila-Dhevi-R:codex/fix-job-output-html-9586

Conversation

@Nikhila-Dhevi-R

Copy link
Copy Markdown

Summary

Fix notebook rendering for job stdout and stderr so angle-bracketed text is visible, ANSI colors remain styled, and output is escaped before HTML is generated.

Changes

  • Escape output before converting ANSI codes to trusted color spans in both viewers.
  • Add regression coverage for Python type text, ANSI styling, and script-like output.

Testing

  • Ran both regression cases against the viewer classes, Python compilation, and git diff --check locally.
  • The local environment lacks pytest, so the repository pytest suite will run through PR checks.

Asana task

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant