Skip to content

Commit

Permalink
[issue tracker] Fix issue description (aces#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 and zaliqarosli committed Mar 6, 2023
1 parent 8ced373 commit e1f2dca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/issue_tracker/jsx/IssueForm.js
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 e1f2dca

Please sign in to comment.