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

6
LINES

< > BotCompany Repo | #1008404 // contentsOfPTags - HTML/XML parsing, extract <p> tags

JavaX fragment (include)

1  
static L<S> contentsOfPTags(S html) {
2  
  new L<S> l;
3  
  for (L<S> tag : findContainerTag(htmlTok(html), "p"))
4  
    l.add(trim(join(contentsOfContainerTag(tag))));
5  
  ret l;
6  
}

Author comment

Began life as a copy of #1002309

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: #1008404
Snippet name: contentsOfPTags - HTML/XML parsing, extract <p> tags
Eternal ID of this version: #1008404/2
Text MD5: 8e9d5a877ff99b959edae5f99c5692fa
Author: stefan
Category: javax / html parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-14 23:51:00
Source code size: 177 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 521
Version history: 1 change(s)
Referenced in: [show references]