1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Merge pull request #23672 from mshabunin:fix-javadoc17

This commit is contained in:
Maksim Shabunin
2023-05-24 23:07:27 +03:00
committed by GitHub
parent d4861bfd1f
commit 537060d96f
+1 -1
View File
@@ -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]