// tok must come from htmlTok // returns all container tags found (including content) as CNC // honors nested tags correctly static L> findContainerTagWithParamsDeep(L tok, S tag, O... params) { new L> l; for (L t : findContainerTagDeep(tok, tag)) if (htmlCheckParams(second(t), params)) l.add(t); ret l; } static L> findContainerTagWithParamsDeep(S html, S tag, O... params) { ret findContainerTagWithParamsDeep(htmlTok(html), tag, params); }