Commit f101c17f authored by Volker Krause's avatar Volker Krause
Browse files

NH extractor: Be more robust against mangled HTML during forwarding

parent 043e1edf
......@@ -50,7 +50,7 @@ function parseHtml(doc) { = url.substr(7);
var bookingRef = doc.eval("//table/tbody/tr/td/table/tbody/tr/td[2]")[0];
var bookingRef = doc.eval("//table//tr/td/table//tr/td[2]")[0];
res.reservationNumber = bookingRef.content;
var bookingRow = bookingRef.parent.nextSibling.nextSibling;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment