Closed personalizedrefrigerator closed 2 weeks ago
With Markdown language support enabled, pressing enter at the end of a list item that ends with HTML does not continue the list.
Screencast from 2024-11-05 16-26-49.webm
Firefox 132.0, Linux/Ubuntu 24.04
https://codemirror.net/try/?c=aW1wb3J0IHtiYXNpY1NldHVwLCBFZGl0b3JWaWV3fSBmcm9tICJjb2RlbWlycm9yIgppbXBvcnQge21hcmtkb3dufSBmcm9tICJAY29kZW1pcnJvci9sYW5nLW1hcmtkb3duIgoKbGV0IHZpZXcgPSBuZXcgRWRpdG9yVmlldyh7CiAgZG9jOiAnLSBbIF0gVGVzdGluZyFcbi0gWyBdIE1vdmUgdGhlIGN1cnNvciB0byB0aGUgZW5kIG9mIHRoaXMgbGluZSwgdGhlbiBwcmVzcyA8a2JkPmVudGVyPC9rYmQ+JywKICBleHRlbnNpb25zOiBbCiAgICBiYXNpY1NldHVwLAogICAgbWFya2Rvd24oKQogIF0sCiAgcGFyZW50OiBkb2N1bWVudC5ib2R5Cn0pCg==
Attached patch should help.
Thank you for fixing this so quickly @marijnh!
Describe the issue
Summary
With Markdown language support enabled, pressing enter at the end of a list item that ends with HTML does not continue the list.
To reproduce
Screen recording
Screencast from 2024-11-05 16-26-49.webm
Browser and platform
Firefox 132.0, Linux/Ubuntu 24.04
Reproduction link
https://codemirror.net/try/?c=aW1wb3J0IHtiYXNpY1NldHVwLCBFZGl0b3JWaWV3fSBmcm9tICJjb2RlbWlycm9yIgppbXBvcnQge21hcmtkb3dufSBmcm9tICJAY29kZW1pcnJvci9sYW5nLW1hcmtkb3duIgoKbGV0IHZpZXcgPSBuZXcgRWRpdG9yVmlldyh7CiAgZG9jOiAnLSBbIF0gVGVzdGluZyFcbi0gWyBdIE1vdmUgdGhlIGN1cnNvciB0byB0aGUgZW5kIG9mIHRoaXMgbGluZSwgdGhlbiBwcmVzcyA8a2JkPmVudGVyPC9rYmQ+JywKICBleHRlbnNpb25zOiBbCiAgICBiYXNpY1NldHVwLAogICAgbWFya2Rvd24oKQogIF0sCiAgcGFyZW50OiBkb2N1bWVudC5ib2R5Cn0pCg==