mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: buildContent: fix html samples
This commit is contained in:
1 file changed
+1
-1
@@ -53,7 +53,7 @@ export function buildContent(source: ProblemSource | ContentNode[], type: 'markd
|
|||||||
`</code></pre><pre><code class="language-output${i + 1}">`,
|
`</code></pre><pre><code class="language-output${i + 1}">`,
|
||||||
sample[1],
|
sample[1],
|
||||||
'</code></pre>',
|
'</code></pre>',
|
||||||
].join('\n')),
|
].join('')),
|
||||||
...source.hint ? [`<h2>${_('Hint')}</h2>`, source.hint] : [],
|
...source.hint ? [`<h2>${_('Hint')}</h2>`, source.hint] : [],
|
||||||
...source.source ? [`<h2>${_('Source')}</h2>`, source.source] : [],
|
...source.source ? [`<h2>${_('Source')}</h2>`, source.source] : [],
|
||||||
].join('\n')
|
].join('\n')
|
||||||
|
|||||||
Reference in new issue
Block a user