feat(client): parse test 'text' as markdown (#39176)
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
f77005cc43
commit
0e1dca5924
@ -34,6 +34,12 @@ function plugin() {
|
||||
);
|
||||
tests.question.text = mdToHTML(tests.question.text);
|
||||
}
|
||||
if (tests.tests) {
|
||||
tests.tests = tests.tests.map(({ text, testString }) => ({
|
||||
text: mdToHTML(text),
|
||||
testString
|
||||
}));
|
||||
}
|
||||
file.data = {
|
||||
...file.data,
|
||||
...tests
|
||||
|
Reference in New Issue
Block a user