Thanks for the reply and I hope it can be fixed in the next release. For now I've made the following change when checking if it's a link.
From:
sampleHref = $(
"<a href='#' />"
).attr(
"href"
),
isLink = (!!href && href !== sampleHref),
To:
sampleHref = $(
"<a href='#' />"
).attr(
"href"
),
isLink = (!!href && href[0] !== sampleHref),