Skip to content

Commit e60e12e

Browse files
committed
1 parent ede97a5 commit e60e12e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sites/highlight.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ def highlight_code(language: str, to_html_func: Callable[[str], str]) -> None:
4848
f'<pre><code class="language-{language}">{snippet}</code></pre>',
4949
f'<pre><code class="language-{language}">{colored_snippet}</code></pre>',
5050
)
51+
52+
# Patch for <https://github.com/Orange-OpenSource/hurl/issues/4117> to delete with 7.0.0
53+
dst = dst.replace(
54+
'<span class="line"><span class="multiline">variable {',
55+
'<span class="line"><span class="multiline">variables {',
56+
)
5157
Path(filename).write_text(dst)
5258

5359

0 commit comments

Comments
 (0)