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

4
LINES

< > BotCompany Repo | #1013166 // ai_html_encyclopediaTopic_quoted

JavaX fragment (include)

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

Author comment

Began life as a copy of #1011443

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: #1013166
Snippet name: ai_html_encyclopediaTopic_quoted
Eternal ID of this version: #1013166/2
Text MD5: ca6c915d08c38b23d77518d4e41e6cc8
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-12-27 02:47:47
Source code size: 239 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 465 / 485
Version history: 1 change(s)
Referenced in: [show references]