guardian/scribe

Browser inconsistency when inserting SPACE char

Open

#293 aberto em 17 de nov. de 2014

Ver no GitHub
 (5 comments) (0 reactions) (0 assignees)JavaScript (265 forks)batch import
browser inconsistencybugformattershelp wanted

Métricas do repositório

Stars
 (3.516 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Using Chromium 34.0.1847.116, clicking to move caret, then entering a SPACE results in " " but moving the caret using arrow keys then entering a SPACE results in " ".

To reproduce: if I go to http://guardian.github.io/scribe/ click after the "H" in "Hello" and type SPACE, I get <p>H&nbsp;ello, World!</p>, but if I then press RIGHT ARROW and type SPACE, I get <p>H&nbsp;e llo, World!</p>

On Firefox 30.0 both result in a " " character being inserted.

Guia do colaborador