Whoops: didn't double quote an XPath...

This commit is contained in:
Sean Takats 2007-03-08 22:11:40 +00:00
parent 52f48e7c36
commit 47ec444b72

View File

@ -1,4 +1,4 @@
-- 175
-- 176
-- ***** BEGIN LICENSE BLOCK *****
--
@ -5439,7 +5439,7 @@ function scrape(doc) {
attachments.push({title:"ACM Snapshot", mimeType:"text/html", url:snapshot});
var keywords = new Array();
var keywordLinks = doc.evaluate('//p[@class="keywords"]/a', doc, null,
var keywordLinks = doc.evaluate(''//p[@class="keywords"]/a'', doc, null,
XPathResult.ANY_TYPE, null);
var keywordLink;
while(keywordLink = keywordLinks.iterateNext()) {