Gourmand fails to display instructions that include ampersand.

Bug #2010263 reported by frankdn
6
This bug affects 1 person
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://us.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.