static S html_addLinkToSpan(S html, S id, S link) {
L tok = htmlTok(html);
for (L tag : findContainerTagWithParams(tok, "span", +id)) {
print("tag length: " + l(tag));
print("tag: " + sfu(tag));
tag = subList(tag, 3, l(tag)-3);
replaceTokens(tag, ahref(link, join(tag)));
}
ret join(tok);
}