Skip to content

Improve raw HTML block conversion#110

Merged
chubes4 merged 2 commits into
trunkfrom
cook-raw-html-blocks-integration
Jun 24, 2026
Merged

Improve raw HTML block conversion#110
chubes4 merged 2 commits into
trunkfrom
cook-raw-html-blocks-integration

Conversation

@chubes4

@chubes4 chubes4 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix standalone anchor paragraph serialization so anchor markup stays in saved HTML without duplicating raw HTML into paragraph delimiter attributes.
  • Treat legacy center/font markup as traversable visible content so FrontPage-era HTML produces non-empty block markup.
  • Preserve static script metadata separately from runtime script fallbacks and classify runtime script fallback details.

Matrix evidence

Combined local raw HTML matrix with SSI integration + Blocks Engine integration:

  • 41/41 imports succeeded
  • hard failures: 1 -> 0
  • fallbacks: 45 -> 15
  • core/html blocks: 0 -> 0
  • freeform blocks: 0 -> 0
  • invalid block documents after SSI semantic validation: 202 -> 0
  • summary: /var/folders/lr/c_cmmt7s0592m4njz99v5yb40000gn/T/opencode/raw-html-combined-matrix-v2/summary.json

Testing

  • composer test from php-transformer/
  • Combined local raw HTML matrix via SSI worktree with this transformer package preloaded

AI assistance

  • AI assistance: Yes
  • Tool(s): openai/gpt-5.5 via OpenCode
  • Used for: Diagnosis, implementation, fanout integration, and local verification.

@chubes4 chubes4 merged commit db8c7f1 into trunk Jun 24, 2026
1 check passed
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