mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 14:48:41 +00:00
fix: <remote-source-code>
element
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4905ecd6f6
commit
e377ad2539
@ -431,9 +431,9 @@ class JudgmentDetailsPrinter {
|
||||
echo '</tr>';
|
||||
} elseif ($node->nodeName == 'remote-source-code') {
|
||||
$language = $node->getAttribute("language");
|
||||
echo '<div class="border-bottom p-3">';
|
||||
echo '<div class="border-bottom p-3 copy-button-container">';
|
||||
echo '<div class="fw-bold mb-2">源代码</div>';
|
||||
echo '<pre><code class="language-', $language, ' bg-light mb-0 rounded">';
|
||||
echo '<pre><code class="language-', $language, ' bg-light mb-0 rounded p-3">';
|
||||
$this->_print_c($node);
|
||||
echo "</code></pre>";
|
||||
echo '</div>';
|
||||
|
Loading…
Reference in New Issue
Block a user