Fixed escaping by repetition in custom editors

result.changed is false when escaping by repetition, but result.value does matter.

Fixes #71.