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

7
LINES

< > BotCompany Repo | #1007923 // containerTag - make HTML tag, avoid the short syntax (<tag/>)

JavaX fragment (include)

1  
static S containerTag(S tag) { ret containerTag(tag, ""); }
2  
3  
static S containerTag(S tag, O contents, O... params) {
4  
  S openingTag = hopeningTag(tag, params);
5  
  S s = str(contents);
6  
  ret openingTag + s + "</" + tag + ">";
7  
}

Author comment

Began life as a copy of #1002214

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1007923
Snippet name: containerTag - make HTML tag, avoid the short syntax (<tag/>)
Eternal ID of this version: #1007923/1
Text MD5: ce50812d9aa4c9ef662a8b1a08d224f9
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 15:59:53
Source code size: 231 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 623 / 646
Referenced in: [show references]