Fixed the chapter. Thanks for the heads up.
Also, in my defense "confectionary" is also a word, apparently? At least according to Merriam-Webster. But it just means "sweets" and not also the art and business of making sweets like "confectionery".
You’re quite right, but the “-ary“ ending version is at best a dated or obsolete form; if the word is used at all, “confectionery” is the most common form for both senses. Paraphrasing the OED:
-ery endings in English tend to come from French and often indicate a place where something is done (for example, bakery).
-ary endings tend to be from Latin and are often associated with a person who does something (for example, secretary)
So both endings are technically correct, but modern English tends to discard such fine distinctions when the meanings are close or a word becomes less useful.
(Even when the meanings of two words with similar spellings are quite distinct they can get conflated—judging by the Internet, the “compliment/complement” distinction is becoming an endangered species.)
Like I said, “looks right either way” spellings in English can be a real pain in the ass.