Skip to content

Conversation

dead-claudia
Copy link
Member

@dead-claudia dead-claudia commented Aug 17, 2019

Description

  • Fix double-rendering of trusted content within contenteditable elements
  • Fix error on m.trust updating

Motivation and Context

Fixes #2502
Fixes #2498

How Has This Been Tested?

Added new tests for each and verified each failed without the appropriate fix.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation change

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated docs/change-log.md

Lots of code paths relied on it being a boolean. When I created the
abstraction, I apparently forgot to make sure it returned the result.
@dead-claudia dead-claudia merged commit 30ad45c into MithrilJS:next Aug 17, 2019
@dead-claudia dead-claudia deleted the unbreak-m-trust branch August 17, 2019 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

Contenteditable node renders the content twice Mithril throws an error when two or more sibling components render content via m.trust
1 participant