Skip to content

Commit

Permalink
fix: Wrong escape sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
aragon999 committed Jul 15, 2024
1 parent 363c2c1 commit bd5d626
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lib/gftools/builder/operations/autohintOTF.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

class AutohintOTF(OperationBase):
description = "Run otfautohint"
rule = "otfautohint $args -o $out $in \|\| otfautohint $args -o $out $in --no-zones-stems"
rule = "otfautohint $args -o $out $in \\|\\| otfautohint $args -o $out $in --no-zones-stems"
2 changes: 1 addition & 1 deletion Lib/gftools/push/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def parse_html(string: str):
if not string:
return None
text = BeautifulSoup(string, features="lxml").text
return re.sub("\s+", " ", text).strip()
return re.sub(r"\s+", " ", text).strip()


@dataclass
Expand Down

0 comments on commit bd5d626

Please sign in to comment.