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

4
LINES

< > BotCompany Repo | #1011443 // html_encyclopediaTopic

JavaX fragment (include)

static S html_encyclopediaTopic(S topic) {
  S text = or2(ai_html_shortenTextForDisplay(topic), "<empty>");
  ret ahref(encyclopediaLink(topic), htmlencode_noQuotes(text), style := dottedStyleForLinks() + "; color: inherit");
}

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: #1011443
Snippet name: html_encyclopediaTopic
Eternal ID of this version: #1011443/6
Text MD5: beea8204ffe3e3479d18f10b6e64b7ef
Author: stefan
Category: javax / a.i. / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-28 14:52:04
Source code size: 230 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 429 / 467
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1011566 - ai_html_encyclopediaTopic
#1013096 - html_matrixLink
#1013166 - ai_html_encyclopediaTopic_quoted