wordpress-mobile / AztecEditor-Android

A reusable native Android rich text editor component.
Mozilla Public License 2.0
675 stars 112 forks source link

Text containing angle brackets and email addresses gets mangled #1014

Open cameocoder opened 1 year ago

cameocoder commented 1 year ago

Expected

Able to paste plain text containing a list of names and email addresses: First1 Last1 <flast1@example.com>, First2 Last2 <flast2@example.com>

Observed

Only text up to the first < is displayed and everything after is just replaced by a ? (unprintable character?)

Reproduced

  1. In the Aztec sample app clear all pre-filled text
  2. Paste as plain text "First1 Last1 <flast1@example.com>"

Tested

Pixel 4XL on Android 13 with origin/trunk commit 3762b389d2b94c5643c0d6d2a82030f6631d52d1

Screenshot_20221115-142626_2