static S hcommentSafe(S text) { ret hcomment_unescaped(contains(text, "-->") ? htmlencode(text) : text); }
Began life as a copy of #1003230
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: | #1007864 |
Snippet name: | hcommentSafe - make HTML comment. escapes contents |
Eternal ID of this version: | #1007864/3 |
Text MD5: | 35ca685ccdd9223d7a9f13c96c0ea4f7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-27 02:25:31 |
Source code size: | 110 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 538 / 562 |
Version history: | 2 change(s) |
Referenced in: | [show references] |