emikulic / darkhttpd

When you need a web server in a hurry.
https://unix4lyfe.org/darkhttpd/
ISC License
1.03k stars 83 forks source link

Properly divide list "headers" and lists. #4

Closed solt87 closed 3 years ago

solt87 commented 3 years ago

Since the feature (and security and limitations) list follows the "Features:" (etc.) line without any empty lines between them, some Markdown-to-HTML converters (correctly) assume that they are one paragraph, which causes the list not to be converted to an actual HTML list. By putting an empty line between the actual lists and their preceding lines, the lists will be correctly converted.

(Both lists and paragraphs are block elements, and they should be "marked down" accordingly. See https://daringfireball.net/projects/markdown/syntax#block .)