Skip to content

Commit

Permalink
Don't remove indentation when printing source snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedThree committed Feb 11, 2022
1 parent 88b280b commit 454b803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion review.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def format_ordinary_line(source_line, line_offset):
return textwrap.dedent(
f"""\
```cpp
{textwrap.dedent(source_line).strip()}
{source_line}
{line_offset * " " + "^"}
```
"""
Expand Down

0 comments on commit 454b803

Please sign in to comment.