Skip to content

Renders Raw Markdown in Position Paper #1

@npsboy

Description

@npsboy

Description:

The page occasionally renders raw markdown in the position paper.

Image

Source of error:

<div className="position-paper-content" id="position-paper-content" ref={printRef}>
     <ReactMarkdown id="position-paper-md">{positionPaper.content}</ReactMarkdown>
</div>

Explanation:

The app requests the openai api to return a markdown for neat rendering. This response is then rendered in the position paper after all leading and trailing whitespaces are removed.

Reason:

Currently unknown.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions