Skip to content

Commit b6d3521

Browse files
Update src/toon_format/_scanner.py
Updating comments for specificity of replacing characters Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 805a1b8 commit b6d3521

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/toon_format/_scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def to_parsed_lines(
211211
# This prevents stray \r characters from appearing in content
212212
source = source.replace("\r\n", "\n")
213213

214-
# Strip any remaining standalone \r characters (old Mac format)
214+
# Replace any remaining standalone \r characters (old Mac format) with \n
215215
source = source.replace("\r", "\n")
216216

217217
lines = source.split("\n")

0 commit comments

Comments
 (0)