Skip to content

Support <span class> inline run styles - #87

Merged
SimonCropp merged 3 commits into
mainfrom
Support-`-span-class-`-inline-run-styles
Sep 2, 2026
Merged

Support <span class> inline run styles#87
SimonCropp merged 3 commits into
mainfrom
Support-`-span-class-`-inline-run-styles

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

Add <span> handling in HtmlInlineRenderer so a span’s class maps to RunStyle for enclosed runs, including robust class parsing (quoted/unquoted, first class only, boundary-safe matching) and correct push/pop behavior for nested/classless spans. Extend markdown and renderer tests to cover heading/paragraph partial styling and span edge cases, and document the new inline styling behavior in readme.md. Also set Verify_SponsorshipLicenseIgnored in Directory.Build.props to keep local release/test flows aligned with sponsorship-check expectations.

Add `<span>` handling in `HtmlInlineRenderer` so a span’s `class` maps to `RunStyle` for enclosed runs, including robust class parsing (quoted/unquoted, first class only, boundary-safe matching) and correct push/pop behavior for nested/classless spans. Extend markdown and renderer tests to cover heading/paragraph partial styling and span edge cases, and document the new inline styling behavior in `readme.md`. Also set `Verify_SponsorshipLicenseIgnored` in `Directory.Build.props` to keep local release/test flows aligned with sponsorship-check expectations.
@SimonCropp SimonCropp added this to the 7.5.0 milestone Sep 2, 2026
@SimonCropp
SimonCropp merged commit dd0a2e8 into main Sep 2, 2026
3 checks passed
@SimonCropp
SimonCropp deleted the Support-`-span-class-`-inline-run-styles branch September 2, 2026 05:30
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