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)

static S containerTag(S tag) { ret containerTag(tag, ""); }

static S containerTag(S tag, O contents, O... params) {
  S openingTag = hopeningTag(tag, params);
  S s = str(contents);
  ret openingTag + s + "</" + tag + ">";
}

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: 527 / 554
Referenced in: [show references]