I just noticed these lines in pagearchive:
if (el.tagName == 'CANVAS') { return '<IMG SRC="' + htmlQuote(el.toDataURL('image/png')) + '">'; }