Improve wiki formatting for preformatted text and lists
We now format a paragraph that contains at least one line with
manual indentation as a pre-formatted text block. This fixes
the case presented by dbort in GERRIT-134:
key_passwords[None] = None # comment explaining why
for k in sorted(keylist):
if not k:
p = subprocess...
The entire block is now preformatted.
We also now format paragraphs that contain lines starting with "- "
or "* " as a list, with each line being a unique item in that list.
Signed-off-by: Shawn O. Pearce <email@example.com>
1 file changed