Skip to content

Commit

Permalink
Merge pull request #59 from usefulness/updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski authored Apr 10, 2022
2 parents 6a37da6 + b077b0b commit 7d354d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ def github_output(message):
return message.replace("%", "%25") \
.replace("\n", "%0A") \
.replace("\r", "%0D") \
.replace('\x00', '')
.replace('\x00', '') \
.replace("\"", "")


def section(_title, _content):
Expand Down Expand Up @@ -162,7 +163,7 @@ def sizeof_fmt(num, suffix='B', sign=False):

for (title, content) in grouper(sections, 2):
key = title.lower().strip().replace(" ", "-")
value = content.rstrip().lstrip("\n").replace("$", "_")
value = content.rstrip().lstrip("\n").replace("$", "_").replace("`", "")
if len(value) > github_output_limit:
value = value[0:github_output_limit] + "\n...✂"

Expand Down

0 comments on commit 7d354d2

Please sign in to comment.