未验证 提交 537060d9 编写于 作者: M Maksim Shabunin 提交者: GitHub

Merge pull request #23672 from mshabunin:fix-javadoc17

上级 d4861bfd
......@@ -1353,7 +1353,7 @@ def sanitize_java_documentation_string(doc, type):
indexDiff += 1
lines[index + indexDiff] = lines[index + indexDiff][0:i] + lines[index + indexDiff][i + 1:]
else:
if listInd and (not line or line == "*" or line.startswith("@note")):
if listInd and (not line or line == "*" or line.strip().startswith("@note") or line.strip().startswith("@param")):
lines.insert(index + indexDiff, " "*len(listInd) + "</li>")
indexDiff += 1
del listInd[-1]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册