mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22:24 +01:00
Remove normalization of trailing line endings
This commit is contained in:
parent
9aa8886309
commit
ac34939c99
@ -56,7 +56,7 @@ def normalize_line_endings(value: Optional[str]) -> Optional[str]:
|
|||||||
if value is None:
|
if value is None:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return value.replace("\r\n", "\n").strip()
|
return value.replace("\r\n", "\n")
|
||||||
|
|
||||||
|
|
||||||
def should_return_json():
|
def should_return_json():
|
||||||
|
Loading…
Reference in New Issue
Block a user