Skip to content

Commit

Permalink
Merge pull request #8 from oSoWoSo/fix
Browse files Browse the repository at this point in the history
fix: escape apostrophes in names
  • Loading branch information
montagdude authored Apr 23, 2024
2 parents e752e0b + 121476b commit cf449da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awesome-appmenu
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class Launcher():
print("Redefinition of Name in " + launcherfile + ".")
break
else:
self.Name = splitline[1].strip()
self.Name = splitline[1].strip().replace("'", "\\'")
if self.verbose:
print("Name key for " + launcherfile + ":" + self.Name + ".")

Expand Down

0 comments on commit cf449da

Please sign in to comment.