coauthor
coauthor copied to clipboard
tables immediately before closing HTML tags break
What's wrong?
If an HTML element ends with a table, the table gains an extra row, and the HTML element does not close. (Adding a blank line between the table and the closing tag fixes this.)
see also #583
How to Reproduce
<details>
<summary>expand</summary>
normal
</details>
<div>
| this | is |
-|-
| a first | table |
</div>
<details>
<summary>expand</summary>
| this | is |
-|-
| a second | table |
| this | is |
-|-
| a third | table |
</details>
what?
The first and third tables have extra rows, and the text "what?" is inside the <details>
object. (Also, the second half of the post is wrapped in the <div>
, as if the closing tag weren't there.)
Screenshots
Context
- Device/OS: nixos
- Browser: firefox 95.0.2
- Coauthor server: coauthor.csail.mit.edu