Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74d31ef2 authored by Eric Fischer's avatar Eric Fischer
Browse files

Fix a bug where paragraph styles could leak onto an adjacent empty line.

When the text ends with an empty line, the getSpans() call to retrieve
styles for it would also retrieve the styles of the preceding line.
Add a special case to detect and prevent this.

Change-Id: I888131cacce6bf45e68c53c931ebe8d58db0b7a9
parent 507a4ea3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment