Weird behavior when quoting certain posts

In this post, the following lines can be found:

Original text

:one:

:bust_in_silhouette::busts_in_silhouette:,:pregnant_woman::arrow_right::baby:: :bust_in_silhouette::statue_of_liberty:
:bust_in_silhouette::bust_in_silhouette:: {:handshake:,:scroll:}
:busts_in_silhouette: = {:bust_in_silhouette: | :brain:, :angel::thinking::imp:}
:bust_in_silhouette::bust_in_silhouette:: :two_men_holding_hands::ghost:

Article 1

All human beings are born free and
equal in dignity and rights.
They are endowed with reason and conscience and
should act towards one another in a spirit of brotherhood.

However, after selecting this and clicking “Quote”, the text that appears quoted in the new post is:

Totally different

:one:

:ghost::ghost:,:ghost::ghost::ghost:: :ghost::ghost:
:ghost::ghost:: {:ghost:,:ghost:}
:ghost: = {:ghost: :ghost:, :ghost::ghost::ghost:}
:ghost::ghost:: :ghost::ghost: > Article 1

All human beings are born free and
equal in dignity and rights.
They are endowed with reason and conscience and
should act towards one another in a spirit of brotherhood.

Two things are very different: the side-by-side quote blocks have been lost, and the emoji have been turned to ghosts. I don’t know exactly what is involved in causing this, so I am going to post a few different versions to test with:

Testing

:one:

:bust_in_silhouette::busts_in_silhouette:,:pregnant_woman::arrow_right::baby:: :bust_in_silhouette::statue_of_liberty:
:bust_in_silhouette::bust_in_silhouette:: {:handshake:,:scroll:}
:busts_in_silhouette: = {:bust_in_silhouette: | :brain:, :angel::thinking::imp:}
:bust_in_silhouette::bust_in_silhouette:: :two_men_holding_hands::ghost:

:one:

:bust_in_silhouette::busts_in_silhouette:,:pregnant_woman::arrow_right::baby:: :bust_in_silhouette::statue_of_liberty:
:bust_in_silhouette::bust_in_silhouette:: {:handshake:,:scroll:}
:busts_in_silhouette: = {:bust_in_silhouette: | :brain:, :angel::thinking::imp:}
:bust_in_silhouette::bust_in_silhouette:: :two_men_holding_hands::ghost:

:one:

:bust_in_silhouette::busts_in_silhouette:,:pregnant_woman::arrow_right::baby:: :bust_in_silhouette::statue_of_liberty:
:bust_in_silhouette::bust_in_silhouette:: {:handshake:,:scroll:}
:busts_in_silhouette: = {:bust_in_silhouette: | :brain:, :angel::thinking::imp:}
:bust_in_silhouette::bust_in_silhouette:: :two_men_holding_hands::ghost:

:two_men_holding_hands: abc :ghost:
:brain: def :angel:

:handshake: ghi :scroll:

Edit: It appears that the double line break (between “:one:” and “∀”) is involved with the emoji issue. When quoting text that includes multiple emoji in a paragraph (counting single line breaks as continuing the same paragraph) and a double line break somewhere in the quote, it seems that all emoji in the paragraph are replaced by the last emoji in that paragraph.

For reference, here are the plain-text “raw” versions of the linked post, and this post.

Bumping thread because this problem is still occurring.