AztecEditor-iOS icon indicating copy to clipboard operation
AztecEditor-iOS copied to clipboard

Some spaces should be sanitized, but aren't.

Open diegoreymendez opened this issue 7 years ago • 0 comments

Expected behavior

When rendering something like:

<strong>WordPress<strong> <b> </b><strong> </strong><span> </span><em>App</em>

Aztec should only render one space between words. This is how Safari renders it:

screen shot 2018-06-19 at 10 37 14

Actual behavior

Aztec is rendering 3 spaces:

screen shot 2018-06-19 at 10 37 33

Steps to reproduce the behavior

Just paste the snippet in HTML mode and switch back to visual.

diegoreymendez avatar Jun 19 '18 13:06 diegoreymendez