Use the "\A" metacharacter for the beginning of a string, instead of "^"
for the beginning of any line within that string, and check for "://" as
well. Fixes#1947.
Previously, a negative "demoted from janitor trial" record would
always be created after a janitor trial ended, regardless of whether
or not the user in question was actually demoted or not. This commit
removes the culprit, an overly aggressive after_destroy callback, and
instead directly invokes user record creation in the "demote!" method.
When a list is prefixed by more than one non-list line, output those
prefix lines as part of the same paragraph, not as separate ones.
Treat other lines not beginning with a "*" as continuations of the
previous list item.