Skip to content

Commit 0921a04

Browse files
authored
Update webapp/src/Twig/TwigExtension.php
1 parent 3e72b94 commit 0921a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Twig/TwigExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ public function domjudgeMarkdownToHTML(string $markdown): string
14311431

14321432
$new = '';
14331433
foreach ($latexFound as $inlineLatex) {
1434-
$replacedStart = strpos($markdown,'$LaTeX$');
1434+
$replacedStart = strpos($markdown, '$LaTeX$');
14351435
$new = substr($markdown, 0, $replacedStart);
14361436
$new .= $inlineLatex;
14371437
$new .= substr($markdown, $replacedStart+strlen('$LaTeX$'));

0 commit comments

Comments
 (0)