Gourmand fails to display instructions that include ampersand.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gourmand (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In adding a new recipe I typed text into the Instructions section, clicked [save] and then [view recipe card].
The recipe displayed incorrectly: the Instructions section was entirely blank, i.e. void. Clicking [Edit instructions] brought up the text so it isn't lost, but it will not display in the recipe card.
Experimenting, I found a workaround: the problem is triggered by including an ampersand '&' in the text. Substituting the word 'and' for '&' seems to solve the problem. Other ASCII chars, such as '%' and '#' do not trigger the fault.
I'm using 22.04. Gourmand does not crash and /var/crash is empty.
root# apt-cache policy gourmand
gourmand:
Installed: 1.0.0-7
Candidate: 1.0.0-7
Version table:
*** 1.0.0-7 500
500 http://
500 http://
100 /var/lib/