We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d7802b commit 007191bCopy full SHA for 007191b
logya/util.py
@@ -44,7 +44,7 @@ def f(*args, **kwargs):
44
def encode_content(headers: dict, body: str) -> str:
45
"""Encode headers and body in content format."""
46
47
- return f'---\n{dump(headers, Dumper=Dumper).strip()}\n---\n{body}'
+ return f'---\n{dump(headers, Dumper=Dumper).strip()}\n---\n{body.strip()}'
48
49
50
def load_yaml(text: str) -> dict:
0 commit comments