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

8
LINES

< > BotCompany Repo | #1002447 - sourceCodeToHTML (pre + htmlencode + word-wrap)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (73L/1K).

static S sourceCodeToHTML(S src) {
  ret sourceCodeToHTML_noEncode(htmlencode2(src));
}

// works for String, StringBuffer, StringBuilder
static S sourceCodeToHTML(O o) {
  ret sourceCodeToHTML(str(o));
}

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1002447
Snippet name: sourceCodeToHTML (pre + htmlencode + word-wrap)
Eternal ID of this version: #1002447/4
Text MD5: e9c511a3d7debf0852574373fc2f3df1
Transpilation MD5: a55b01bcf9680e58b0bf04013beebdba
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-10-29 11:29:26
Source code size: 211 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 488 / 534
Version history: 3 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1002447 & http://1002447.tinybrain.de