fix(docs): src_parser.py keep empty lines in param desciption (#26656)

This commit is contained in:
Hamish Willee
2026-03-12 14:29:53 +11:00
committed by GitHub
parent 57cf570bb4
commit 7e776a7b9c
@@ -232,6 +232,9 @@ class SourceParser(object):
# start waiting for the next part - long comment.
if state == "wait-short-end":
state = "wait-long"
if state == "wait-long-end":
# Long description includes empty lines
long_desc += "\n"
else:
m = self.re_comment_tag.match(comment_content)
if m: