sS hs_htmlencode_noJQuery() { ret hjavascript([[ function htmlencode(str) { return str.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>') ; } ]]); }
Began life as a copy of #1027639
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029506 |
Snippet name: | hs_htmlencode_noJQuery |
Eternal ID of this version: | #1029506/3 |
Text MD5: | 2858e3ceab11e271b6b482bb57c9888b |
Author: | stefan |
Category: | javax / javascript |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-16 18:25:14 |
Source code size: | 185 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 181 / 216 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |