html tree parser: fixup reference to add method

(integrated from trunk branch change 4a4d274 by Todd Whiteman <toddw@activestate.com>)