We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e72b94 commit 0921a04Copy full SHA for 0921a04
webapp/src/Twig/TwigExtension.php
@@ -1431,7 +1431,7 @@ public function domjudgeMarkdownToHTML(string $markdown): string
1431
1432
$new = '';
1433
foreach ($latexFound as $inlineLatex) {
1434
- $replacedStart = strpos($markdown,'$LaTeX$');
+ $replacedStart = strpos($markdown, '$LaTeX$');
1435
$new = substr($markdown, 0, $replacedStart);
1436
$new .= $inlineLatex;
1437
$new .= substr($markdown, $replacedStart+strlen('$LaTeX$'));
0 commit comments