Apricot icon indicating copy to clipboard operation
Apricot copied to clipboard

Finds title twice and includes linefeed

Open auduny opened this issue 15 years ago • 0 comments

Apricot.open("http://audun.ytterdal.net/test.php", function(doc) {
    doc.find('title');
doc.each(function(el) {
    console.log('found "' + el.innerHTML + '"');
})
})

Produces

$ node examples.js 
found "
"
found "Tittelen på siden
"

auduny avatar Aug 24 '10 18:08 auduny