Skip to content

Conversation

SergioEstevao
Copy link
Contributor

@SergioEstevao SergioEstevao commented Feb 26, 2020

Fixes #wordpress-mobile/gutenberg-mobile#1218

Change the range were underlines are drawn to avoid them to span to the end of a line. This is a workaround a bug from the Apple CoreText layout system where underlines that contain the &nbsp character expand to the end of the line.

BeforeAfter

To test:

  • Run the demo app
  • Open the content Underline NBSP
  • Check that underlines are draw correctly.
Copy link
Contributor

@etoledom etoledom left a comment

Choose a reason for hiding this comment

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

Working great! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants