Emoji 有时 在 <small> 块 内 不起作用

It seems emoji don’t render inside <small> blocks?

I think they used to.

EDIT: oh, this is inconsistent. Here’s some cases:


:exploding_head:

hello

:exploding_head:


:exploding_head:

source:


---
<small>
:exploding_head:
</small>

---

hello
<small>
:exploding_head:
</small>

---
<small>:exploding_head:</small>
---

:exploding_head:

1 个赞

:rocket: :exploding_head: :upside_down_face: :hugs:

3 个赞

problem seems to be whitespace, followed by an opening tag on a line by itself, then a colon-emoji-code

3 个赞

It doesn’t look specific to <small> (I did not test all allowed tags). I can’t remember if it was always this way.

2 个赞

This is going to be something about the markdown.it implementation and the way it handles inline HTML vs block HTML

First example is an HTML block so the inline ruler is not running.

I think this is by design cc @Vitaly

3 个赞