fix: parse certificates separately (#39182)
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
0e1dca5924
commit
5fe16ada3d
@ -34,7 +34,9 @@ function plugin() {
|
|||||||
);
|
);
|
||||||
tests.question.text = mdToHTML(tests.question.text);
|
tests.question.text = mdToHTML(tests.question.text);
|
||||||
}
|
}
|
||||||
if (tests.tests) {
|
// since tests are overloaded (they're both a list of projects and
|
||||||
|
// actual tests), it's necessary to check which they are:
|
||||||
|
if (tests.tests && tests.tests[0] && tests.tests[0].text) {
|
||||||
tests.tests = tests.tests.map(({ text, testString }) => ({
|
tests.tests = tests.tests.map(({ text, testString }) => ({
|
||||||
text: mdToHTML(text),
|
text: mdToHTML(text),
|
||||||
testString
|
testString
|
||||||
|
Reference in New Issue
Block a user