misskey-dev / misskey

🌎 An interplanetary microblogging platform πŸš€
https://misskey-hub.net/
GNU Affero General Public License v3.0
9.81k stars 1.32k forks source link

Plaintext from Mastodon is read as Markdown in Misskey #9274

Open saschanaz opened 1 year ago

saschanaz commented 1 year ago

πŸ’‘ Summary

Plaintext can be falsely read as Markdown

πŸ₯° Expected Behavior

Plaintext should be read as is.

🀬 Actual Behavior

It unexpectedly becomes Markdown-parsed rich text.

πŸ“ Steps to Reproduce

  1. Access https://fosstodon.org/@krosylight/109458128530437732 via Misskey search.
  2. It's read as a Markdown quote, while being plaintext.

πŸ“Œ Environment

Misskey version: 12.119.2 Your OS: Windows 11 Your browser: Firefox

rinsuki commented 1 year ago

related: #7430 #7876

norz commented 1 year ago

(NB: i haven’t read the discussions linked)

When I see that happen, it is usually helpful and intended, e.g.: bold & italics text, quoting, etc.

rinsuki commented 1 year ago

but sometimes it would be unintentional result, like mask for unprintable word (e.g. a**le ju**e β†’ ale jue), so they should be as-is

norz commented 1 year ago

Technically you’re right, but I don’t remember seeing this kind of problems, it must be quite rare (from my point of view).