mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-28 09:52:16 +02:00
* Treat lists with a single empty item as plain text, not Markdown. This allows users to send simple messages such as `-`, `+`, `*` and `2021.` without Element Web mangling them into a nonsensical empty list. As soon as any non-whitespace content is added to the item, it switches back to treating it as a list of one item. Fixes vector-im/element-web#7631. * Fix type errors. * Lint. --------- Co-authored-by: Michael Weimann <michaelw@matrix.org> Co-authored-by: Johannes Marbach <johannesm@element.io>