Skip to content

Poorly formatted markdown can cause an error rendering in fields where markdown is supported #4415

@NoopDog

Description

@NoopDog

Need

In the AnVIL Explorer, there appears to be a problem with the browser rendering a description, which for some reason contains the string {flowcell_id}.css.bam

Image

The affected project is https://explore.anvilproject.org/datasets/293801c6-846a-4743-8244-a97004b5e22b

Approach

  • Reproduce locally by modifying the response
  • See what is causing the error.
  • Make sure the input to the markdown processor is sanitized meaning all JS is removed.
  • Make sure that if the markdown function errors we at least display the raw data instead of the error page.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions