RetroFed Forums
Your home away from modern life.
Emojis need proper scaping
Post Reply
AuthorMessage
fushuan piefed.blahaj.zone fushuan@piefed.blahaj.zone
Joined: 2025-06-28
(edited) Quote

Only example (this was injected with the emoji feature that pops up when writing in summit. I know that doubling the backslash fixes it by escaping the backslash itself): ¯_(ツ)_/¯

I can search the code and make a PR with the change, I feel bad asking to fix such a small thing. I can also open an issue later today if it's preferred but I can't right now sorry.

2   Original
threelonmusketeers sh.itjust.works threelonmusketeers@sh.itjust.works
Joined: 2023-06-10
#2 · (edited) Quote Reply

doubling the backslash fixes it by escaping the backslash itself

I think one needs to triple the backslash in this case. One for the forearm, one to escape the forearm, and another to escape the upper arms, whose underscores would otherwise be interpreted as itallics markdown.

Edit: I realize that my use of "upper arms" may have been ambiguous. I am referring to the anatomical "upper arm" segments, not the typographical "upper arm" segments, which I interpret as anatomical "wrists" or "hands".

1
fushuan piefed.blahaj.zone fushuan@piefed.blahaj.zone
Joined: 2025-06-28
#3 · (edited) Quote Reply

doubling the backslash fixes it by escaping the backslash itself I think one needs to triple the backslash in this case. One for the forearm, one to escape the forearm, and another to escape the upper arms, whose underscores would otherwise be interpreted as itallics markdown. Edit: I realize that my use of "upper arms" may have been ambiguous. I am referring to the anatomical "upper arm" segme...

Nah, you only need a single escape:

¯_(ツ)_/¯ - not escaed

¯\(ツ)/¯ - escaped

\¯\(ツ)/\¯ - your suggestion.

You are right that the middle one italizes the emoji, but it doesn't seem like you can escape that.

1
threelonmusketeers sh.itjust.works threelonmusketeers@sh.itjust.works
Joined: 2023-06-10
#4 · (edited) Quote Reply

Nah, you only need a single escape: ¯_(ツ)_/¯ - not escaed ¯\(ツ)/¯ - escaped \¯\(ツ)/\¯ - your suggestion. You are right that the middle one italizes the emoji, but it doesn't seem like you can escape that.

You are right that the middle one italizes the emoji, but it doesn’t seem like you can escape that

Sure you can: ¯\\\_(ツ)_/¯

Renders as: ¯\_(ツ)_/¯

2
fushuan piefed.blahaj.zone fushuan@piefed.blahaj.zone
Joined: 2025-06-28
#5 · Quote Reply

You are right that the middle one italizes the emoji, but it doesn’t seem like you can escape that Sure you can: ¯\\\_(ツ)_/¯ Renders as: ¯\_(ツ)_/¯

Oh you meant escaping the first underline so the italize doesn't trigger of course. Ok I'm stupid you are right.

1
idunnololz Moderator idunnololz@lemmy.world
Joined: 2023-06-13
#6 · Quote Reply

Will fix in the next release.

2
Post Reply
Back to top