Skip to content

Improve X (Twitter) card meta validation and output - #860

Merged
poppastring merged 1 commit into
mainfrom
twitter-fixes
Jun 30, 2026
Merged

poppastring merged 1 commit into
mainfrom
twitter-fixes

Conversation

@poppastring

Copy link
Copy Markdown
Owner

Improve X (Twitter) card meta validation and output

Refactor MetaViewModel to use "X (Twitter)" naming and add stricter validation for card type and handle format. Normalize and trim Twitter card values and handles in AdminController. Update TwitterCardTagHelper to emit only valid, normalized meta tags. Enhance admin UI dropdown for card type selection. Add unit tests for MetaViewModel validation and TwitterCardTagHelper output.

Refactor MetaViewModel to use "X (Twitter)" naming and add stricter validation for card type and handle format. Normalize and trim Twitter card values and handles in AdminController. Update TwitterCardTagHelper to emit only valid, normalized meta tags. Enhance admin UI dropdown for card type selection. Add unit tests for MetaViewModel validation and TwitterCardTagHelper output.
@poppastring
poppastring merged commit ea5de57 into main Jun 30, 2026
3 checks passed
@poppastring
poppastring deleted the twitter-fixes branch June 30, 2026 03:19
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