Skip to content

Commit

Permalink
[issue tracker] Fix issue description (#8351)
Browse files Browse the repository at this point in the history
The issue description is currently rendered in a static text field, while comments (or the description in the comments) are rendered as markdown. This updates the description to be wrapped in a `<Markdown>` tag so that it gets consistently rendered.
  • Loading branch information
driusan authored Feb 13, 2023
1 parent 7ab11e0 commit cc9997b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/issue_tracker/jsx/IssueForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,13 @@ class IssueForm extends Component {
</div>
);

const descr = <Markdown content={this.state.issueData.desc} />;
description = (
<StaticElement
name='description'
label='Description'
ref='description'
text={this.state.issueData.desc}
text={descr}
/>
);
}
Expand Down

0 comments on commit cc9997b

Please # to comment.