5 ms·
Wait, HN renders emojis?
by mrwnmonm 4y ago
Wait, HN renders emojis?
- dang 4y agoIt doesn't except for a 10-second window today. https://news.ycombinator.com/item?id=34460417 https://news.ycombinator.com/item?id=34460417
- sph 4y agoI swear I saw a heart emoji a few months ago in a comment at the bottom of a long thread. Not sure if it was a bug, an easter egg, or maybe a figment of my imagination. Also I wonder if you have a secret dashboard full of buttons to control this website, and now there's a "Enable emojis for 10 seconds" button, next to "Subtract 1 karma to anyone with a custom topcolor" and "Promote a random Lisp post to the front page"
- dhosek 4y agoIt might have been a rendering of U+2661 ♡ or U+2665 ♥ or U+2764 (this last one does get stripped by HN) which are not emoji but may be rendered as such by the browser.
- sph 4y agoThis is dangerous information to spread. Censor yourself, or it will be abused and we will lose this easter egg forevermore. Let's keep it a secret between you, I and dang's emoji stripping code.
- ushakov 4y ago🆔 this type of thing works too
- sph 4y agoAh ffs, this is why we can't have nice things on the Internet.
- deleted 4y ago[deleted]
- Symbiote 4y agoThere's a fairly new CSS selector to configure emoji rendering, choosing between a text-like rendering and the coloured emoji rendering. So far, there's very little browser support. https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-emoji https://developer.mozilla.org/en-US/docs/Web/CSS/font-varian...
- pxc 4y agoI really love the text-like style. I didn't know Unicode added as composing character to ask for that style! That's awesome. Those are so easy to read and I love how they play nice with users' font coloring choices.
- SLWW 4y agoThat does keep things interesting (as long as it's not super common) though i do wonder how it looked previously (did it just strip the emoji or is there like a ":pwease:" dropped in?
- pxc 4y agoit just stripped the emoji
- deleted 4y ago[deleted]
- chungy 4y agoTechnically speaking, no, HN doesn't render any titles. Your browser is displaying U+1F97A, which is sent over-the-wire as the bytes \xF0\x9F\xA5\xBA (UTF-8 encoding).
- deathanatos 4y agoBy "render" they probably meant "didn't strip"; HN will strip emoji from comments/titles, generally. E.g., the emoji of the article: "" but I suspect there won't be anything between the quotes. (An exception was made for the title, in this case; dang mentions that in a comment in the comments here.)
- mrwnmonm 4y ago> By "render" they probably meant "didn't strip" Yes, this is what I meant.
- deleted 4y ago[deleted]