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
Change-Id: I7131bb845d2eeb9e208300ba9a09ec6c805b8df8
Signed-off-by: Shawn O. Pearce <sop@google.com>
2 files changed
tree: 2f99bbd313c5e9459c3b3a5e5fe90169054c6611
  1. .settings/
  2. src/
  3. .gitignore
  4. COPYING
  5. GoogleFormat.xml
  6. pom.xml