Skip to content

Markdown: There is a strange spacing problem when using the "list". #24602

Closed
matrix-org/matrix-react-sdk
#10424
@YamatoRyou

Description

@YamatoRyou

Steps to reproduce

n/a

Outcome

What did you expect?

If there are more than one list of the entire text at the same time, I hope that the correct lines can be rendered between the list. As shown in the figure:
{BF1F6937-FB9B-A5B6-2468-A2D4CE9CB0ED}

What happened instead?

If the list is located at the top of the entire text, the line of the last line of the list and the next line is 0. As shown in the figure:
{D88E7C32-7D8B-0366-C92F-BB8BB1ADE17B}

If there are other texts at the top of the list, there is a spacing of at least 1 line of text at the top of the list and the previous line. As shown in the figure:
{3633E348-6B02-691C-FE57-7BF589B99431}

If the entire text appears more than 1 or more list at the same time, it looks like this:
{E56DE1CF-D546-9C0E-0912-396F7D32AAEE}

The whole looks uncomfortable, because the "list title" I expect is not together with the "list text".


It is also futile to press the Enter key multiple times.
Plain text:

{EFCE3F31-3D65-384C-169A-928F9C5C94F4}
- {425891E9-89A0-A717-ECF3-7C74874E248D}
- {EA6D345B-2018-85AE-96A5-4F3D5D3246C0}
- {F42E50ED-BC4D-CD22-551A-DEC529A6600F}
- {09B08711-F4B7-5E0A-D205-FCD4C18E94AC}
- {ABE49DB9-3D14-9767-9DFC-08DA31B8A9B7}
- {EF4CC90A-D0CF-0B20-34EB-20E6120CD3CF}
- {33B4F45A-638A-7EDA-CCD9-39F1F25FFCE6}
- {771C20AA-F645-F294-63C8-51FDD2B326FD}
- {BB844CFB-89FF-654D-FAB7-6909B2064F14}  




{69DEC00C-4187-722B-841C-DABCB22C1BE8}  
1. {5CA0606D-8CCA-F2C3-A571-647B93A511D3}
2. {FCBB73E0-8E94-7F38-512B-5FED7344D292}
3. {FA8B6E75-006E-2569-11B0-3EC4542F2CF8}
4. {F52A639F-E322-72CB-91BB-FB721505DEC4}
5. {6397F652-8313-251C-63F3-46B8D70AF02E}
6. {3E721DB8-C4F7-8ABF-0864-DB425B131503}
7. {B1C03E34-B203-E04A-B957-ED4B83D13494}
8. {53F454DC-FC61-1AA7-844E-F951F3FB49A0}
9. {975C802D-8F1B-8D61-1C3D-115DD34E72B7}

Result after rendering:
{E56DE1CF-D546-9C0E-0912-396F7D32AAEE}

Operating system

x64 Windows 7

Browser information

Chromium 102.0.5005.167

URL for webapp

27f1d99-react-39fe72e53ad6-js-8a3d7d5671e5

Application version

No response

Homeserver

Synapse 1.77.0

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions