Transpiled version (3049L) is out of date.
sS wrapInDiv(S html, O... _) { S tag = getTag(firstToken(htmlTok(html))); ret eqicOneOf(tag, "div", "p") ? html : div(html, _); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030878 |
| Snippet name: | wrapInDiv |
| Eternal ID of this version: | #1030878/2 |
| Text MD5: | 6f92c7e502fb3f7afaed1bb8aab190a4 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-04-05 16:59:38 |
| Source code size: | 136 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 401 / 540 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |