Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 2e461d6

Browse files
committed
[[ Bug 20979 ]] Escape & in recent and window lists
1 parent c8eb359 commit 2e461d6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Toolset/palettes/menubar/revmenubar.livecodescript

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ end setupTextMenu
145145
# need to be added here.
146146
private function revMenubarEscapeStackNameForMenu pName
147147
replace "!" with "\!" in pName
148+
replace "&" with "\&" in pName
148149
if the platform is "MacOS" then
149150
replace "/" with "\/" in pName
150151
replace "(" with "\(" in pName

notes/bugfix-20979.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Escape `&` in recent files and window menus

0 commit comments

Comments
 (0)