Skip to content

Commit

Permalink
Update dot_parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
blshkv committed Jan 4, 2022
1 parent 90936e7 commit 4ab2c03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pydot/dot_parser.py
Expand Up @@ -426,6 +426,8 @@ def graph_definition():

noncomma = "".join([c for c in printables if c != ","])
alphastring_ = OneOrMore(CharsNotIn(noncomma + " "))
# override pyparsing tightened whitespace-skipping logic
alphastring_.skipWhitespace = True

def parse_html(s, loc, toks):
return "<%s>" % "".join(toks[0])
Expand Down

0 comments on commit 4ab2c03

Please sign in to comment.