A heading on the last line of a document stays a heading
- What was broken
- An underlined heading at the very end of a document with no final line break came out as plain text, sometimes with a stray horizontal line.
- What I changed
- The underline now also counts when the document ends right after it.
- Why it matters
- Documents render the same whether or not the file ends with a line break.