This looks like a bug in SgmlLinkExtractor (a tuple was intended); `attr_func` doesn't make sense with a string. Opened #652 for that.