Fix HTML characters in mozilla rich edit causing error#13644
Conversation
See test results for failed build of commit 2e3fa39e95 |
|
I'm unable to push changes to the The changelog entry I was trying to add is as follows:
|
|
I thought I had set the pull request to want to merge into nvaccess/nvda master branch. I will need to check if I have done anything wrong when creating the pull request and how to change my work flow./ |
|
@mwhapples - you'll need to add NV Access developers as contributors to the aphtech/nvda repository. So that we can push changes to that repository. |
|
@seanbudd I have given you write access to aphtech/nvda, any other NVDA developer I should grant access, or do you have a team I can add? |
|
Thanks - you might be able to invite @nvaccess/developers otherwise, @feerrenrut and @michaelDCurran getting an invite should be fine for now. |
See test results for failed build of commit 8b7b70f61e |
Link to issue number:
Closes #12542
Summary of the issue:
In mozilla applications when pasting certain HTML into rich edit controls it can lead to errors when navigating through the text. One such example is in the thunderbird compose message edit area.
Description of how this pull request fixes the issue:
The function _getEmbedded in ia2TextMozilla.py returns Optional, however the return value is never checked to be not None and this assumption leads to errors later on when the value is used. This pull request adds a check for None being returned from _getEmbedded and skips it if None is found.
Testing strategy:
Manually tested.
Known issues with pull request:
None known.
Change log entries:
New features
Changes
Bug fixes No longer give errors when navigating certain text in Mozilla rich edit controls.
For Developers
Code Review Checklist: