Skip to content

Extract background image parsing helper#529

Merged
chubes4 merged 1 commit into
trunkfrom
refactor-html-transformer-safe-extraction
Jul 6, 2026
Merged

Extract background image parsing helper#529
chubes4 merged 1 commit into
trunkfrom
refactor-html-transformer-safe-extraction

Conversation

@chubes4

@chubes4 chubes4 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Extract CSS background image URL parsing and alt derivation into a focused PHP support helper.
  • Keep HtmlTransformer responsible for creating the image block and resolving asset metadata URLs.
  • No JS package edits.

Tests

  • composer test

AI assistance

  • AI assistance: Yes
  • Tool(s): openai/gpt-5.5 via OpenCode
  • Used for: Architecture hotspot inspection, PHP-only refactor extraction, test verification, and PR preparation.

@chubes4 chubes4 merged commit a11bcdc into trunk Jul 6, 2026
1 check passed
@chubes4 chubes4 deleted the refactor-html-transformer-safe-extraction branch July 6, 2026 20:24
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