1 | static S dropContainerTags(S s) { |
2 | ret join(dropContainerTags(htmltok(s))); |
3 | } |
4 | |
5 | static L<S> dropContainerTags(L<S> tok) { |
6 | for (L<S> l : findContainerTags(tok)) |
7 | for (int i = 1; i < l(l)-1; i++) |
8 | l.set(i, ""); |
9 | ret tok; |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1007929 |
Snippet name: | dropContainerTags |
Eternal ID of this version: | #1007929/3 |
Text MD5: | dd36c6f430f39825083c79c9438588ed |
Author: | stefan |
Category: | javax / html |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-17 16:55:10 |
Source code size: | 240 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 534 / 567 |
Version history: | 2 change(s) |
Referenced in: | [show references] |