1 | // tok must come from htmlTok |
2 | // returns content of all container tags found as CNC |
3 | // should be OK for both HTML and XML |
4 | static LL<S> contentsOfContainerTags(L<S> tok, S tag) {
|
5 | ret map contentsOfContainerTag(findContainerTag(tok, tag)); |
6 | } |
7 | |
8 | static LL<S> contentsOfContainerTags(S html, S tag) {
|
9 | ret contentsOfContainerTags(htmlTok(html), tag); |
10 | } |
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: | 433 / 471 |
| Referenced in: | [show references] |