// tok must come from htmlTok // returns all container tags found (including content) as CNC // honors nested tags correctly static L> findContainerTagWithParams(L tok, S tag, O... params) { ret [L t : findContainerTag(tok, tag) | htmlCheckParams(second(t), params)]; }