pdoc3 / pdoc

:snake: :arrow_right: :scroll: Auto-generate API documentation for Python projects
https://pdoc3.github.io/pdoc/
GNU Affero General Public License v3.0
1.12k stars 145 forks source link

Line breaks in source code docstrings are ignored in html documentation #317

Closed LeonvanKouwen closed 2 years ago

LeonvanKouwen commented 3 years ago

Source code: image

Documentation: image

Expected Behavior

pdoc --html package

The docstrings for function, classes etc should be printed in the documentation respecting line breaks in the source code.

Actual Behavior

Line breaks are ignored.

Additional info

vardanagarwal commented 2 years ago

The issue still exists. pdoc version: 0.10.0

kernc commented 2 years ago

Duplicate of https://github.com/pdoc3/pdoc/issues/110.