mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +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}">`,
|
||||
sample[1],
|
||||
'</code></pre>',
|
||||
].join('\n')),
|
||||
].join('')),
|
||||
...source.hint ? [`<h2>${_('Hint')}</h2>`, source.hint] : [],
|
||||
...source.source ? [`<h2>${_('Source')}</h2>`, source.source] : [],
|
||||
].join('\n')
|
||||
|
||||
Reference in new issue
Block a user