// if no block exists, the tag is just added in front sS hAddToHead(S html, S tag) { L tok = htmlTok(html); L head = first(findContainerTag(tok, "head")); if (head == null) ret tag + html; head.set(2, addLineBreak(tag) + head.get(2)); ret join(tok); }