Skip to content

fix(iOS): inline styles parsing - #617

Merged
kacperzolkiewski merged 3 commits into
mainfrom
@kacperzolkiewski/fix-inline-styles-parsing
May 29, 2026
Merged

kacperzolkiewski merged 3 commits into
mainfrom
@kacperzolkiewski/fix-inline-styles-parsing

Conversation

@kacperzolkiewski

@kacperzolkiewski kacperzolkiewski commented May 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

We introduced a parser regression after merging #403, causing the inline_styles_display.yaml test to fail.
When multiple inline styles are applied to the same word, the styles incorrectly extend onto the surrounding text
image

Also fixes applying alignment inside input from parsed html

Test Plan

inline_styles_display.yaml test passes.
Parsing works properly when alignment set

Screenshots / Videos

n/a

Compatibility

OS Implemented
iOS
Android

Checklist

  • E2E tests are passing
  • Required E2E tests have been added (if applicable)

Comment thread ios/htmlParser/HtmlParser.mm
Comment thread ios/inputHtmlParser/InputHtmlParser.mm Outdated

@szydlovsky szydlovsky left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@kacperzolkiewski
kacperzolkiewski merged commit 521e7d6 into main May 29, 2026
7 checks passed
@kacperzolkiewski
kacperzolkiewski deleted the @kacperzolkiewski/fix-inline-styles-parsing branch May 29, 2026 06:20
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.

2 participants