Authored-By: Codex (GPT-5) <noreply@openai.com>
This commit is contained in:
+4
-2
@@ -62,8 +62,10 @@ printf '%s\n' "${PR_BODY}" | awk '
|
||||
next
|
||||
}
|
||||
if (lower ~ /^[ ]{0,3}<details([[:blank:]>])/) {
|
||||
if (lower ~ /[[:blank:]]open([[:blank:]=>]|$)/) print "<details open=\"\">"
|
||||
else print "<details>"
|
||||
attributes=lower
|
||||
gsub(/"[^"]*"/, "", attributes)
|
||||
if (attributes ~ /[[:blank:]]open([[:blank:]=>]|$)/) sub(/<details open>/, "<details open=\"\">", line)
|
||||
print line
|
||||
next
|
||||
}
|
||||
if (line ~ /^## Tracking[[:space:]]*$/) print "<h2>Tracking</h2>"
|
||||
|
||||
Reference in New Issue
Block a user