Fix canned append in non-HTML mode

Fixes #393