// tok = parsed with htmlTok sS findTag(L tok, S tag) { for (int i = 1; i < l(tok); i += 2) if (isTag(tok.get(i), tag)) ret tok.get(i); null; }