How do you inhibit emoji expansion?


#1

I was trying to write “sex : gender :: pig : pork” without the spaces, but this got emojified to

sex:gender::pig:pork

Escaping with backslashes doesn’t seem to give me what I want, either:

sex:gender::pig:pork

Is this possible?


#2

one clumsy way:
sex:gender::­pig:pork
sex:gender::­pig:pork

there’s also

sex꞉gender꞉꞉pig꞉pork
sex꞉gender꞉꞉pig꞉pork
(Unicode ‘MODIFIER LETTER COLON’ U+A789)

or

sex:gender::pig:pork
sex:gender\::`pig:pork`

Not sure if there’s a saner way.


#3

Ick, I guess &­shy; is the best of those options.

Of course, now I just had to type &­shy; as &&­shy;shy;

  • ­
  • &­shy;
  • &&­shy;shy;
  • &&&­shy;shy;shy;
  • &&&&­shy;shy;shy;shy;


#4

Nothing like co-worker s IMing you MAC addresses with :grinning: in the middle


#5

Another common problem on some boards:

  1. first thing
  2. second
  3. third
  4. fourth
  5. fifth
  6. sixth
  7. seventh
    :sunglasses: eighth
  8. ninth

#6

There’s also the suboptimal:
sex:gender::pig:pork
sex:gender::<m>pig:pork

Also you can use the colon HTML entity:
sex:gender::pig:pork
sex:gender:&#58;pig:pork

Pretty much any HTML chunk (even invalid) that doesn’t render will stop the parser.

On a totally unrelated note, whoah!
button
<kbd>button</kbd>


#7

“Backticks” work if you don’t mind the fixed-width font:

`sex:gender::pig:pork` → sex:gender::pig:pork

And as I edit this post I see also that a <dd> block magically disables emoji:

<dd> sex:gender::pig:pork </dd>

sex:gender::pig:pork

So if you wanted something indented anyway, that would be convenient.


#8

Now I’m wondering just how escapes are intended to be used on discourse. Because if I type \<foo\> it seems to get discarded completely:

<foo>

That must mean escapes are processed before html? Unexpected.

So far, the only thing I’m pretty sure \ escapes correctly is \ itself.


#9

Curiouser and curiouser! I think I would have used fixed width in that instance if I had intuited what the </> icon meant.


#10

The parser’s open source if you want to read through some semi-complex JS libs. I dredged through it some in the past when I was curious about some stuff.

I tend to just use backticks or &shy; to break the parser if I don’t want the grey background.


#11

I see the <dl> tag has the same effect without indenting:

<dl> sex:gender::pig:pork </dl>

sex:gender::pig:pork

<dd> sex:gender::pig:pork </dd>

sex:gender::pig:pork

There may also be something relevant among the many frightening experiments in formatting at the so-called BBS Style Manual.

link fixed


#12

I’m starting to think some of this might just be unexpected interplay between various plugins.

spoiled kbd

kbd’ed spoiler


#13

Thank you @nemomen and @smulder! A gift:

                   .               ,.
                  T."-._..---.._,-"/|
                  l|"-.  _.v._   (" |
                  [l /.'_ \; _~"-.`-t
                  Y " _(o} _{o)._ ^.|
                  j  T  ,-<v>-.  T  ]
                  \  l ( /-^-\ ) !  !
                   \. \.  "~"  ./  /c-..,__
                     ^r- .._ .- .-"  `- .  ~"--.
                      > \.                      \
                      ]   ^.                     \
                      3  .  ">            .       Y
         ,.__.--._   _j   \ ~   .         ;       |
        (    ~"-._~"^._\   ^.    ^._      I     . l
         "-._ ___ ~"-,_7    .Z-._   7"   Y      ;  \        _
            /"   "~-(r r  _/_--._~-/    /      /,.--^-._   / Y
            "-._    '"~~~>-._~]>--^---./____,.^~        ^.^  !
                ~--._    '   Y---.                        \./
                     ~~--._  l_   )                        \
                           ~-._~~~---._,____..---           \
                               ~----"~       \
                                              \

#14

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.