// tok must come from htmlTok // returns content of all container tags found as CNC // should be OK for both HTML and XML static LL<S> contentsOfContainerTags(L<S> tok, S tag) { ret map contentsOfContainerTag(findContainerTag(tok, tag)); } static LL<S> contentsOfContainerTags(S html, S tag) { ret contentsOfContainerTags(htmlTok(html), tag); }
Began life as a copy of #1002309
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1023876 |
| Snippet name: | contentsOfContainerTags |
| Eternal ID of this version: | #1023876/1 |
| Text MD5: | 46108278923045db6801d7932e29919e |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-07-11 13:45:34 |
| Source code size: | 360 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 428 / 466 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1023877 - stringContentsOfFirstContainerTag #1034714 - contentsOfH3s |