Skip to content

Commit 50700cc

Browse files
authored
Fix previous edit
1 parent 703ef3a commit 50700cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ def parse_text(text: str) -> str:
6969

7070
def highlight_text(matches: re.Match[str]) -> str:
7171
return env.get_template('highlight/text.html').render(
72-
before_var="",
72+
before_var='',
7373
variable=matches[1],
74-
after_var=matches[3],
74+
after_var=matches[2],
7575
parsed_text=parse_text(matches[1])
7676
)
7777

0 commit comments

Comments
 (0)