* 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> |
||
|---|---|---|
| .. | ||
| __snapshots__ | ||
| caret-test.ts | ||
| deserialize-test.ts | ||
| diff-test.ts | ||
| history-test.ts | ||
| mock.ts | ||
| model-test.ts | ||
| operations-test.ts | ||
| parts-test.ts | ||
| position-test.ts | ||
| range-test.ts | ||
| roundtrip-test.ts | ||
| serialize-test.ts | ||