Fix auto-formatting of bullet lists
Previously we were bulleting the first line in a paragraph, even if
it did not have a bullet marker. E.g. if the user entered:
To see this bug, you have to:
* Be on IMAP or EAS (not on POP)
the first line was treated as though it had been "* To see this bug".
This was not what the author intended in this example.
We now make an exception for the first line(s) in the list paragraph,
rendering them in their own <p> tag isolated from the list elements.
Bug: gerrit issue 293
Signed-off-by: Shawn O. Pearce <firstname.lastname@example.org>
2 files changed