Bookmarklet not working for HTML

When I use the bookmarklet and select HTML, everything appears to work properly, but when I go select the document in Devonthink it merely says “undefined.” The URL of the page is displayed in the browser bar but “undefined” is there instead of the page. I haven’t had this issue when using the other options for the bookmarklet. Any idea what the problem might be? Thanks.

The text/HTML bookmarklets aren’t supported by Firefox.