core: remove extra quote

This commit is contained in:
undefined committed 2021-05-05 19:21:40 +08:00
1 parent ecf04d3b7d
commit b0cf638616
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ export function buildContent(source: ProblemSource | ContentNode[], type: 'markd
? [
...source.description ? [`<h2>${_('Description')}</h2>`, source.description] : [],
...source.input ? [`<h2>${_('Input Format')}</h2>`, source.input] : [],
...source.output ? [`<h2>'${_('Output Format')}</h2>`, source.output] : [],
...source.output ? [`<h2>${_('Output Format')}</h2>`, source.output] : [],
...(source.samples).map((sample, i) => [
`<h2>${_('Sample Input')} ${i + 1}</h2><pre>`,
sample[0],