Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
parse actions with wierd quotes (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
JackUrb authored Jun 14, 2021
1 parent 475ea76 commit 643bb5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions light/world/action_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def parse(self, txt, actor=None):

def post_process(self, txt, actor=None):
txt = txt.rstrip("\n").rstrip("\r")
txt = txt.replace("“", '"').replace("”", '"')
if '"' in txt:
return txt

Expand Down

0 comments on commit 643bb5d

Please sign in to comment.