Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1007929 // dropContainerTags

JavaX fragment (include)

static S dropContainerTags(S s) {
  ret join(dropContainerTags(htmltok(s)));
}

static L<S> dropContainerTags(L<S> tok) {
  for (L<S> l : findContainerTags(tok))
    for (int i = 1; i < l(l)-1; i++)
      l.set(i, "");
  ret tok;
}

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: 533 / 566
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)