Skip to content

Commit 9df50d6

Browse files
committed
reflect markdown in comments
1 parent 52b60ca commit 9df50d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/assessment/AssessmentGrading.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Text } from '@blueprintjs/core'
22
import * as React from 'react'
33
import { getPrettyDate } from '../../utils/dateHelpers'
4+
import Markdown from '../commons/Markdown'
45

56
type AssessmentGradingProps = OwnProps
67

@@ -50,7 +51,9 @@ class AssessmentGrading extends React.Component<AssessmentGradingProps, {}> {
5051
<br />
5152
<th>Comment:</th>
5253
<p>
53-
<pre>{this.props.comment}</pre>
54+
<pre>
55+
<Markdown content={this.props.comment} />
56+
</pre>
5457
</p>
5558
</div>
5659
) : null}

0 commit comments

Comments
 (0)