Commit 61bcc6f 1 parent cbd5846 commit 61bcc6f Copy full SHA for 61bcc6f
File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,16 @@ module.exports = function (api) {
40
40
encoding : "utf-8" ,
41
41
} ) ;
42
42
const data = YAML . parse ( contents ) ;
43
+ const versions = data . versions . map ( ( v ) => {
44
+ if ( v . description ) v . description = toHTML ( v . description ) ;
45
+ return v ;
46
+ } ) ;
43
47
collection . addNode ( {
44
48
id,
45
49
name : data . name ,
46
50
timeout : data . timeout ,
47
51
status : data . status ,
48
- versions : data . versions ,
52
+ versions,
49
53
testFrameworks : data . testFrameworks ,
50
54
} ) ;
51
55
}
Original file line number Diff line number Diff line change 23
23
<h3 class =" text-lg font-semibold" >
24
24
{{ version.name }}
25
25
</h3 >
26
- <!-- TODO Process Markdown -->
27
- <div v-if =" version.description" class =" content" >
28
- {{ version.description }}
29
- </div >
26
+ <!-- eslint-disable-next-line vue/no-v-html -->
27
+ <div
28
+ v-if =" version.description"
29
+ class =" content"
30
+ v-html =" version.description"
31
+ />
30
32
</div >
31
33
32
34
<h2
You can’t perform that action at this time.
0 commit comments