Skip to content

Fix documentation paragraph and list rendering - #68

Open
Ashishchoudhary07 wants to merge 1 commit into
OWASP:websitefrom
Ashishchoudhary07:fix/empty-paragraph-list-br
Open

Ashishchoudhary07 wants to merge 1 commit into
OWASP:websitefrom
Ashishchoudhary07:fix/empty-paragraph-list-br

Conversation

@Ashishchoudhary07

Copy link
Copy Markdown

Summary

  • Avoid generating empty paragraphs around documentation headings.
  • Prevent invalid <br> elements from being inserted directly inside unordered and ordered lists.
  • Preserve the existing Markdown blockquote rendering fix.

Testing

  • git diff --check — passed
  • npx tsc --noEmit — passed
  • npm run lint — passed
  • npx next build --webpack — passed
  • py -3 scripts/validate_website_export.py — passed (47 HTML pages and 2,955 local references validated)

AI Disclosure

  • AI assistance: Yes
  • Tool or model: ChatGPT
  • Provider: OpenAI
  • Contribution: Assisted with root-cause analysis and implementation guidance.
  • Human validation: Reviewed the changes and ran the listed validation commands.

Fixes #64

@github-actions

Copy link
Copy Markdown
Contributor

✅ No duplicate payload entries detected

Checked 0 normalized entries from added/modified payload files on the latest push.

Posted automatically by the Duplicate Payload Check workflow.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant